product structure silicon monolithic integrated circuit radiation resistance design is not arranged 1/69 tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 14 ? 001 datashee t usb audio decoder lsi series aac/wma/mp3 +sd memory card + ipod bu9450xaxxx series description bu9450xaxxx series are wav/aac/wma/mp3 decoder lsi which contains usb host, sd card i/f, audio dac, system controller, regulator for internal core power supply. features ? usb2.0 full speed host i/f function contained. ? sd card i/f function contained. ? i 2 c format i/f function contained. ? protocol conversion from i 2 c to usb hid or from usb hid to i 2 c. (bu94502amuv and bu94502ask2 only) ? mp3 decode function contained. (available for mpeg1, 2 and 2.5, layer 1, 2 and 3) ? wma decode function contained. (available for wma9 standard and not available for drm) ? aac decode function contained. (available for mpeg4 aac-lc and not available for drm) ? wav format file playing function contained. ? sample rate converter contained. ? system controller contained. ? fat analysis function contained. ? browsing function of file names, folder names on music playing contained. ? id3tag and wmatag and aactag analysis. ? fast forward playing and fast backward playing function contained. ? resume function contained. ? reading a specified file data is possible from connected memory. ? lun is selectable. ? sound effect function contained. ? digital audio out function contained. (i 2 s, eiaj, s/pdif) ? audio dac contained. ? regulator for internal core power supply contained. applications audio products, etc package w(typ.) x d(typ.) x h(max.) vqfn040v6060 6.00mm x 6.00mm x 1.00mm sqfp-t52m 12.00mm x 12.00mm x 1.50mm line up part number ipod package ordering part number bu94501amuv not supported vqfn040v6060 reel of 2000 BU94501AMUV-E2 bu94501aks2 sqfp-t52m tray of 1000 bu94501aks2 bu94502amuv supported vqfn040v6060 reel of 2000 bu94502amuv-e2 bu94502aks2 sqfp-t52m tray of 1000 bu94502aks2 downloaded from: http:///
2/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 basic circuit application diagram -part1 figure 1. an example of connection circuit application bu9450xamuv this lsi builds in regulator for internal core power supply (1.5v). dvdd_m terminal of 10pin connect to bypass cond enser and dont connect to power supply (3.3v) please confirm the optimal oscillat ion circuit parameters applicable to your sy stems or products with the oscillator manufactur er in advance. vqfn040v6060 package exposes its frame of the backside of package. note that this part is assumed to use after providing heat dissipation treatment to improve heat dissipation efficiency. try to occupy as wide as possible with heat dissipation pattern n ot only on the board surface but also the backside. downloaded from: http:///
3/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 basic circuit application diagram -part2 figure 2. an example of connection circuit application bu9450xaks2 this lsi builds in regulator for internal core power supply (1.5v). dvdd_m terminal of 52pin connect to bypass cond enser and dont connect to power supply (3.3v) please confirm the optimal oscillat ion circuit parameters applicable to your sy stems or products with the oscillator manufactur er in advance. downloaded from: http:///
4/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 difference of bu9450xa series features item bu94502amuv bu94501amuv bu94502aks2 bu94501aks2 package vqfn040v6060 sqfp-t52m number of pins 40pin 52pin power supply 3.3v (inner 1.5v regulat or ) 3.3v (inner 1.5v regulator ) usb host i/f usb full speed(12mbps), usb mass storage class usb full speed(12mbps), usb mass storage class sd card i/f spi mode spi mode sd, sdhc, mmc, mini-sdcard sd, sdhc, mc, mini-sdcard ipod supported not supported *1 supported not supported *1 ipod automatic enumeration supported not supported *1 supported not supported *1 i 2 c command i/f slave supported supported patch cord download supported supported change the setting of timeout and retry mode in usb memory or sd card mount operation supported supported audio line output supported supported digital audio output i 2 s, eiaj, spdif i 2 s, eiaj, spdif sample rate convertor supported supported clock 16.9344mhz (*1) 16.9344mhz (*1) playable mp3 files *.mp3, *.m p2, *.mp1 *.mp3, *.mp2, *.mp1 playable wma files *.asf, *.wma *.asf, *.wma playable aac files *.m4a, *.3gp, *.mp4 *.m4a, *.3gp, *.mp4 playable wav files *.wav *.wav browsing function supported supported *1 for using of bu94502amuv and bu94502aks2, it is necessary to become a licensee of apple inc. regarding "made for ipod/iphone/ipad license". downloaded from: http:///
5/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 block diagram figure 3. block diagram usb i/f sd i/f mp3/wma/ aac/wav decoder data buffer src i2s out spdif out tag analysis / browsing system controller command i/f serial (spi) data i/f usb/ system pll 1.5v ldo i2s out spidif out audio dac mcu power amp _ z file system (fat12 /16/32) 16.9344 mhz 3.3v downloaded from: http:///
6/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 arrangement of terminals bu94501amuv / bu94502amuv figure 4. arrangement of terminals (bu9450xamuv) bu94501aks2 / bu94502aks2 figure 5. arrangement of terminals (bu9450xaks2) downloaded from: http:///
7/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 description of terminals -part1 bu94501amuv / bu94502amuv no pin name io cir io pu function 1 dvssio gnd terminal 2 resetx a i pu*3 h: release reset, l: reset 3 tmode h i test mode terminal. connect it to gnd. 4 irpto b o connection interrupt output terminal 5 searc b o search flag output terminal 6 mchng b o file play end flag output terminal 7 busy b o command analysis busy output temrinal 8 scl i i *2 i 2 c slave clock input terminal 9 sda i i/o *2 i 2 c slave data i/o terminal 10 dvdd_m core power (vdd2) monitor terminal. connect it to bypass capacitor. 11 dvssio gnd terminal 12 dvddio io power (vdd1) terminal 13 test1 i test mode terminal. connect it to gnd. 14 xin_pll e i x'tal (16.9344mhz) connection input terminal. 15 xout_pll e o x'tal (16.9344mhz) connection output terminal. 16 test2 h i pu pull it up at vdd1 power. 17 test3 h i pu pull it up at vdd1 power. 18 test4 h i pu *1*3 test mode terminal. connect it to gnd. 19 avddc usb power supply (vdd1) terminal 20 avssc usb gnd terminal 21 usb_dm c i/o usb d i/o terminal 22 usb_dp c i/o usb d+ i/o terminal 23 rexti d o usb bias resistor (12k ? ) connecting terminal arrange the resistance of 12k ? near pin, and wiring on the pin side doesn't cross with other signal lines. 24 clk24mi b i/o pu*3 24mhz clock input terminal at src through mode 25 lrck/spdif b o digital audio channel clock or spdif output terminal 26 bck b o digital audio bit clock output terminal 27 data b o digital audio data output terminal 28 mclk b o audio master clock (12.288m hz/16.9344mhz) output terminal 29 dvddio io power supply (vdd1) terminal 30 amute g o audio mute output terminal (h mute off, l mute on) 31 davss audio dac gnd terminal 32 rdaco f o audio dac rch line output terminal 33 vcdaco j o audio dac reference voltage output terminal 34 ldaco f o audio dac lch line output terminal 35 davdd b audio dac power supply (vdd1) terminal 36 sd_con b i pu*3 sd card connect terminal 37 sd_do b i sd card data in terminal 38 sd_clk b o sd card clock terminal 39 sd_di b o sd card data out terminal 40 sd_cs b o sd card chip select terminal *1 pull-up turns off when l is input. *2 an external pull-up resistor is required because of open drain io *3 please input l level directly without resistance wh en you input l to the terminal with pull-up (about 33 k ? ) downloaded from: http:///
8/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 description of terminals -part2 bu94501aks2 / bu94502aks2 no pin name io cir io pu function 1 dvssio gnd terminal 2 dvddio io power (vdd1) terminal 3 test1 i test mode terminal. connect it to gnd. 4 xin_pll e i x'tal (16.9344mhz) connection input terminal. 5 xout_pll e o x'tal (16.9344mhz) connection output terminal. 6 n.c. non connection 7 n.c. non connection 8 test2 h i pu pull it up at vdd1 power. 9 test3 h i pu pull it up at vdd1 power. 10 test4 h i pu *1*3 test mode terminal. connect it to gnd. 11 avddc usb power supply (vdd1) terminal 12 avssc usb gnd terminal 13 n.c. non connection 14 usb_dm c i/o usb d i/o terminal 15 usb_dp c i/o usb d+ i/o terminal 16 rexti d o usb bias resistor (12k ? ) connecting terminal arrange the resistance of 12k ? near pin, and wiring on the pin side doesn't to cross with other signal lines. 17 clk24mi b i pu*3 24mhz clock input terminal at src through mode 18 lrck/spdif b o digital audio channel clock or spdif output terminal 19 n.c. non connection 20 bck b o digital audio bit clock output terminal 21 data b o digital audio data output terminal 22 mclk b o audio master clock (12.288m hz/16.9344mhz) output terminal 23 n.c. non connection 24 n.c. non connection 25 dvddio io power supply (vdd1) terminal 26 amute g o audio mute output terminal (h mute off, l mute on) 27 davss audio dac gnd terminal 28 rdaco f o audio dac rch line output terminal 29 vcdaco j o audio dac reference voltage output terminal 30 ldaco f o audio dac lch line output terminal 31 davdd b audio dac power supply (vdd1) terminal 32 n.c. non connection 33 n.c. non connection 34 sd_con b i pu*3 sd card connect terminal 35 sd_do b i sd card data in terminal 36 sd_clk b o sd card clock terminal 37 sd_di b o sd card data out terminal 38 sd_cs b o sd card chip select terminal 39 n.c. non connection 40 dvssio gnd terminal 41 n.c. non connection 42 n.c. non connection 43 resetx a i pu*3 h: release reset, l: reset 44 tmode h i test mode terminal. connect it to gnd. 45 irpto b o connection interrupt output terminal 46 n.c. non connection 47 search b o search flag output terminal 48 mchng b o file play end flag output terminal 49 busy b o command analysis busy output terminal 50 scl i i *2 i 2 c slave clock input terminal 51 sda i i/o *2 i 2 c slave data i/o terminal 52 dvdd_m core power (vdd2) monitor terminal connect it to bypass capacitor. *1 pull-up turns off when l is input. *2 an external pull-up resistor is required because of open drain io *3 please input l level directly without resistance wh en you input l to the terminal with pull-up (about 33 k ? ) downloaded from: http:///
9/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 terminal equivalent circuit diagram a b c d e f g h i j _ _ _ _ downloaded from: http:///
10/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 description of each blocks movement -part1 1. usb host interface ? builds in the usb full speed ( 12mbps) host control function. ? supports the usb mass storage class. ? supports changeover of lun (logical un it number) and possible that test un it ready of other lun is confirmed during the playback. ? converts the protocol from i 2 c to usb (hid) or vice versa during communications with the master microcomputer.* ? builds in isochronous transmission functions up to 192byte/frame. * ? builds in the interrupt in transfer function. * ? doesnt support external hub. ? doesnt support mtp. *these functions are available for a devic e having two or more configurations. 2. sd card interface ? supports the spi mode. ? supports sdhc memory cards. ? supports mmc, mini-sd and micro-sd cards. ? does not support cprm. 3. i 2 c command interface (slave i/f) ? communicates with the master microcomputer using the i 2 c interface format. ? operates as i 2 c slave i/f. ? supports the standard mode (100k bps) and the fast mode (400kbps). ? supports 7-bit addresses. 4. audio output ? supports audio line outputs from built-in 1bit-dac. ? builds in the digital soft mute function. * ? supports digital audio outputs of the i 2 s format, the eiaj format and those and the digital audio interface (spdif). ? builds in sound effects including pops, jazz, rock, classic, r&b and bass boost. * *this is available for audio line outputs only. 5. sample rate converter ? converts all support sample rates to 44.1 khz based on the polyphase calculation. ? selection of sample rate co nverter on / off is possible by the command configuration. * supports only digital audio outputs of the i 2 s and eiaj format and ? when sample rate converter is used in off, enter the clo ck of 24.576 mhz synchronizing with the clock of 16.9344 mhz ( enter xin_pll terminal ) to the clk24mi terminal. 6. system controller ? control all operations including interface control to the master microcomputer, usb device access, sd card access, fat analysis, sort function, decoding, encoding and audio output. downloaded from: http:///
11/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 description of each blocks movement -part2 7. fat analysis supports fat32, fat16 and fat12 file system. supports vfat (long file name). supports multi-partiti on up to 1 partition. supports multi-drive up to 1 drive. supports playable folder hierarchies up to 16 hierarchies whose full path including the file name is within 260 characters. supports playable file extension of *.wav for wav files. supports playable file extensions of *.m4a, *.3gp and *.mp4 for aac files. supports playable file extensions of *.asf and *.wma for wma files. supports playable file extensions of *.mp3, *.mp2 and*.mp1 for mp3 files. for *.mp2 and *.m p1, the function allows you to select whether to play. does not extinguish between upper case letters and lower case letters of file extensions. up to 256 folders and 256 files can be sorted and played in the order of unicode wh en sorting functional effective. can obtain 5 file names ahead from current music file. can obtain a folder name or file name within 128 bytes. supports 512, 1024, 2048 and 4096 bytes per sector. playable file size up to 2g-1 byte. a file over 2gbyte is recognized as a pl ayable file, too. but, it is for 2gbyte -1byte that it can play. supports the device size up to fat specification (2t byte). 8. control from master microcomputer (little endian order) can control from the master microcomputer using the i 2 c interface. controllable using commands of play, pause, stop, tune skip, tune forward, folder move, device change, volume setting, repeat change, random play, digital audio output setting, sound effect setting and direct tune selection and etc. can read information on internal status during play or stop, folder number, file number within the folder, play time, total number of folders, total number of files, name of folder being played, name of file being played and tag (title, artist, album, genre), and etc. 9. mp3 decoder ? supports mpeg audio 1, 2 and 2.5. ? supports layer1, 2 and 3. ? supports sample rate of 8 k, 16 k, 32 k, 11.025 k, 22.05 k, 44.1 k, 12 k, 24 k and 48 khz. ? supports bit rate of 8 to 320 kbps and vbr (variable bit rate). *excluding the free format ? supports id3tag v1.0, v.1, 1, v2.2, v2.3 and v2.4. (up to 128 bytes can obtain for album, artist, title and genre, respectively.) 10. wma decoder ? supports windows media audio 9 standard. ? not supports drm files. ? supports sample rate of 8 k, 16 k, 32 k, 11.025 k, 22.05 k, 44.1 k and 48 khz. ? supports bit rate of 5 to 384 kbps and vbr (variable bit rate). ? supports wma-tag. ? (up to 128 bytes can obtain for album, artist, title and genre, respectively.) 11. aac decoder ? supports mpeg4 aac-lc (audio stream). ? based on 3gpp ts 26.244 and itunes. ? supports file type of m4a, mp4 and 3gpx. (x stands for any numeric value.) ? not supports drm files. ? supports sample rate of 8 k, 16 k, 32 k, 11.025 k, 22.05 k, 44.1 k, 12 k, 24 k and 48 khz. ? supports bit rate of 8 to 320kbps and vbr (variable bit rate). ? supports aactag (itunes meta-data and 3gp meta-data). (up to 128 bytes can obtain for album, artist, title and genre, respectively.) *for files other than those encoded by itunes, sound interruption may occur when skipping or forwarding to the next tune if streams such as gaps a nd video data are contained in the file. 12. wav play ? supports wav format. ? supports sample rate of 8 k, 16 k, 32 k, 11.025 k, 22.05 k, 44.1 k, 12 k, 24 k and 48 khz. downloaded from: http:///
12/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 ? supports 16-bit pcm data. ? supports riff tag. (up to 128 bytes can obtain for album, artist, title and genre, respectively.) 13. browsing and direct tune selection ? can analyzes and read other file name in memory while playing the current music. ? up to 64 bytes can obtain for file name, folder name respectively. ? supports direct music selection using the analysis data. 14. repeat and random play ? supports repeat within the memory, repeat within folder and repeat with single tune. ? supports random play within the area of 128 files. ? can select auto-play of next music or stop playing at the end of current music playing. 15. read from files within memory ? can read the data from specified file stored in the specified folder within the memory. downloaded from: http:///
13/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 absolute maximum ratings (ta = 25 ) parameter symbol limits unit comment supply voltage(analog, i/o) vdd1max - 0.3 to 4.5 v dvddio, davdd, avddc input voltage vin -0.3 to vdd1 + 0.3 v storage temperature range tstg -55 to 125 ? c operating temperature range topr -40 to 85 ? c vqfn040v6060 package power dissipation *1 pd1 800 mw bu94501amuv bu94502amuv sqfp-t52m package power dissipation *1 pd2 850 mw bu94501aks2 bu94502aks2 *1 74.2mm 74.2mm 1.6mm, fr4, 1-layer gl ass epoxy board (copper area 23.69mm2) in the case of use at ta=25 or more, 8mw should be reduced per 1 . *2 in the case of use at ta=25 or more, 8.5mw should be reduced per 1 . operating conditions (ta = 25 ) parameter symbol limits unit comment supply voltage(analog, i/o) vdd1 3.0 to 3.6 v dvddio, davdd, avddc electrical characteristics unless specified, ta=25 vdd1=3.3v, dvss=avssc=vss_p ll=davss=0v, xin_pll=16.9344mhz parameter symbol limits unit condition min. typ. max. circuit current (vdd1 usb1) idd1usb1 - 51.0 75.0 ma *1 when usb memory is played. circuit current (vdd1 sd1) idd1sd1 - 26.0 45.0 ma *1 when sd card is played. h-level input voltage vih vdd1*0.7 vdd1 v *2 l-level input voltage vil dvss vdd1*0.3 v *2 h-level output voltage1 voh1 vdd1-0.4 vdd1 v ioh=-1.6ma, *3 l-level output voltage1 vol1 0 0.4 v iol=1.6ma. *3 l-level output voltage2 vol2 0 0.4 v iol=3.6ma, *4 h-level output voltage3 voh3 vdd1-0.4 vdd1 v ioh=-0.6ma, *5 l-level output voltage3 vol3 0 0.4 v iol=0.6ma, *5 h-level output voltage4 voh4 vdd1-1.0 vdd1 v ioh=-1.6ma, *6 l-level output voltage4 vol4 0 1.0 v iol=1.6ma, *6 h-level input voltage vihusb vdd1*0.6 vdd1 v *7 l-level input voltage vilusb avssc vdd1*0.3 v *7 output impedance(h) zoh 22.0 45.0 60.0 ? *7 output impedance(l) zol 22.0 45.0 60.0 ? *7 h-level output voltage vohusb vdd1-0.5 vdd1 v *7 l-level output voltage volusb 0 0.3 v *7 rise/fall time tr/tf 11 ns *7, output capacity 50pf voltage of crossing point vcrs vdd1/2 v *7, output capacity 50pf range of differential input vdiff 0.8 2.5 v *7 differential input sensitivity vsens 0.2 v *7 pull-down resistance rpd 14.25 20.0 24.8 k ? *7 distortion rate thd 0.005 0.05 % 1khz, 0db, sine, *8 dynamic range dr 90 db 1khz, -60db, sine, *8 s/n ratio s/n 66 96 db 1khz, 0db, a-weighted, *8 max output level vsmax 0.60 0.75 vrms 1khz, 0db, sine, *8 bu94501amuv / bu94502amuv *1 3.3v system i/o, analog power supply(vdd1), 1khz, 0db, sine-wave playing *2 2, 3, 7-9, 13, 14, 16-18, 24, 36, 37 pin *3 4-7, 24-28, 30 pin *4 9 pin *5 38-40 pin *6 15 pin *7 21, 22 pin *8 32, 34 pin output no-load bu94501aks2 / bu94502aks2 *1 3.3v system i/o, analog power supply(vdd1), 1khz, 0db, sine-wave playing *2 3, 4, 8-10, 17, 34, 35, 43, 44, 49-51 pin *3 45,47-49,17,18,20-22,26 pin *4 51 pin *5 36-38 pin *6 5 pin *7 14, 15 pin *8 28, 30 pin output no-load downloaded from: http:///
14/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 application information 1. clock and reset clock clock name i/o function remarks xin_pll i x'tal (16.9344mhz) connection input terminal - xout_pll o x'tal (16.9344mhz) connection terminal - reset signal name i/o function remarks resetx i system reset input terminal - please release the reset signal continue l input for more than 100 us after clock input from the oscillation i/o terminal becomes stable. (see figure 6.) figure 6. reset timing item code rating unit remarks min typ max clock frequency f clk 16.9302 16.9344 16.9386 mhz - reset l interval t rstx 100 - - us - 2. usb i/f usb i/o interface signal name i/o function remarks usb_dp i/o usb d+ i/o terminal - usb_dm i/o usb d- i/o terminal - rexti o usb bias resistor connection terminal connect a resistor of 12 k ? 1% to gnd. this interface communicates with the usb device using usb_dp and usb_dm differential signals. rexti terminal is used to connect to the bias resistor in the usb-phy block. w aiting tim e for oscillation stabilization f clk tr stx power supply xin_pll resetx downloaded from: http:///
15/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 3. sd i/f sd memory card spi interface signal name i/o function remarks sd_cs o sd chip select - sd_clk o spi clock - sd_di o spi data input - sd_do i spi data output - sd_con i sd card connect detection terminal h: do not detect sd card connect, l: detect sd card connect this interface connects to the sd memory card slot to communicate with the sd memory device. supports the spi mode. supports sd, sdhc memory cards and mmc, mini-sd and micro-sd cards. does not supports cprm. since the sd memory card slot needs to detect the insertion status of the sd memory device, be sure to use the slot having the sd memory card insertion status detection te rminal. the sd_con terminal is pulled up within the device and detects sd card connect when l is input. the sd_con terminal is pulled up within the device and detects sd card connect when l is input. 3.1 timing unless specified, ta=25 , vdd1=3.3v, load=20pf, 10k ? item symbol rating unit remarks min typ max sd_cs setup time tcss - 5 - us sd_cs hold time tcsh - 15 - us sd_clk clock frequency tclk - 13.5 - mhz sd_di output delay tod -20 - 20 ns sd_do data in setup time tds 18 - - ns sd_do data in hold time tdh 5 - - ns output high voltage voh 0.625*vdd1 - - v output low voltage vol - - 0.25*vdd1 v tod tcss msb msb sd_do sd_di sd_clk tds tdh tcsh tclk vol voh sd_cs figure 7. spi i/f timing downloaded from: http:///
16/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 4. audio line output audio line output signal name i/o function remarks ldaco o lch audio line output - rdaco o rch audio line output - this is a line output of decoded music data. when a sample rate converter is used in on, data on the sample rate 48khz, 32khz are changed into 44.1khz and outputted. it turns on when line output is selected by a command. figure 8. shows the relationship between audio outputs and volume steps. the initial value is C24.1db at power on. figure 8. volume step function volume ste p u p initial value: -24.1db audio output (db) downloaded from: http:///
17/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 5. equalizers selectable audio line output from 5 types of equa lizers and 2 types of bus boosts, using commands. you can use a combination of an equalizer and bus boost 1. even when line output is not selected, the equalizer setting is valid. however, for digital output, the equalizer cannot change the sound quality. figure 9. - figure 14.show frequency characteristics of each filter. clipping may occur by the combination of volume and equalizer setting. figure 9. pops frequency characteristics figure 10. jazz frequency characteristics pops -10 -5 0 5 10 15 20 10 100 1000 10000 100000 freq.(hz) mag.(db) pops(0x52, 0x01) pops+bassboost1(0x52, 0x09) jazz -10 -5 0 5 10 15 20 10 100 1000 10000 100000 freq.(hz) mag.(db) jazz(0x52, 0x02) jazz+bassboost1(0x52, 0x0a) downloaded from: http:///
18/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 figure 11. rock frequency characteristics figure 12. classic frequency characteristics rock -10 -5 0 5 10 15 20 10 100 1000 10000 100000 freq.(hz) mag.(db) rock(0x52, 0x03) rock+bassboost1(0x52, 0x0b) classic -10 -5 0 5 10 15 20 10 100 1000 10000 100000 freq.(hz) mag.(db) classic(0x52, 0x04) classic+bassboost1(0x52, 0x0c) downloaded from: http:///
19/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 figure 13. r&b figure 14. bass boost r&b -10 -5 0 5 10 15 20 10 100 1000 10000 100000 freq.(hz) mag.(db) r&b(0x52, 0x05) r&b+bassboost1(0x52, 0x0d) bassboost -10 -5 0 5 10 15 20 10 100 1000 10000 100000 freq.(hz) mag.(db) bassboost1(0x52, 0x08) bassboost2(0x52, 0x0f) downloaded from: http:///
20/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 6. mute control output audio mute signal name i/o function remarks amute o audio mute control terminal h: at audio output , l: at mute it outputs h at audio output and l at mute. when power is on or in the silence mode such as ff or fb, this control terminal is used to mute audio output it can be used for the flag to do mute with the amplifier of the rear step and so on. figure 15. shows the operation waveforms. figure 15. waveform at audio mute 7. digital audio output (i 2 s, eiaj) audio outputs are shown in table 1. audio output. because test terminal is an output terminal, use it as open. table 1. audio output pin analog output mode digtal output mode spdif off spdif on rdaco line out rch hiz hiz ldaco line out lch hiz hiz lrck test terminal lr clock spdif bck test terminal bit clock test terminal data test terminal lr data test terminal mclk test terminal master clock test terminal digital audio interface (i 2 s, eiaj) signal name i/o function remarks lrck o lr clock output (fs=44.1khz) - bck o bit clock output - data o data output - mclk o masterxlock output at fs=32khz 12.288mhz (384fs) at fs=44.1khz 16.9344mhz (384fs) at fs=48khz 12.288mhz (256fs) this is a digital audio output interface terminal. it becomes enabled by using the appropriate command. when serial audio output is sele cted, the output format can be select ed from the eiaj format or i 2 s format of 32fs, 48fs or 64fs . selectable with the mode that the sample rate of the playback tune is outputted and the mode fixed on 44.1 khz by sample rate converter. figure 16. - figure 21. show the output formats. ldaco, rdaco amute at start of play at stop of play 23 ms at 0db 23 ms at 0db downloaded from: http:///
21/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 figure 16. i 2 s output timing (32fs) figure 17. i 2 s output timing (48fs) figure 18. i 2 s output timing (64fs) figure 19. eiaj output timing (32fs) figure 20. eiaj output timing (48fs) figure 21. eiaj output timing (64fs) lrck left channel right channel bck(48fs) data 15 14 12 11 10 9 8 7 6 5 4 3 2 1 0 15 14 13 13 12 15 14 11 8 7 10 9 6 3 2 5 4 1 0 13 12 15 14 lrck bck(64fs) data left channel right channel 14 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 lrck bck(32fs) data left channel 15 right channel lrck left channel right channel bck(48fs) data 15 14 12 11 10 9 8 7 6 5 4 3 2 1 0 1 0 13 13 12 15 14 11 8 7 10 9 6 3 2 5 4 1 0 1 0 2 lrck bck(64fs) data left channel right channel 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 1 0 lrck bck(32fs) data left channel 15 right channel downloaded from: http:///
22/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 7.1 i 2 s, eiaj output timing 48fs i 2 s format unless specified, ta=25 , vdd1=3.3v, load=20pf item symbol rating unit remarks min typ max bck clock frequency tbck - 472.4 - ns bck low time tbck1 216 236 - ns bck high time tbck2 216 236 - ns lrck clock frequency tlrck - 44.1 - khz lrck output delay tlrck1 -20 0 20 ns data output delay tda1 -20 0 20 ns output high voltage toh vdd1-0.4 - - v output low voltage vol - - 0.4 v tlrck1 msb data bck left channel tbck1 vol lrck tbck2 voh vol tda1 vol figure 22. i 2 s, eiaj output timing downloaded from: http:///
23/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 8. digital audio output (spdif) digital audio interface signal name i/o function remarks spdif o spdif output - spdif output become enabled by setting it using the appropriate command. figure 23. shows the digital audio signal output format. figure 23. spdif output format one sub frame of spdif consists of synchronous preambles, 16-bit audio data, v bit (validity flag), u bit (user data), c bit (channel status) and p bit (parity bit). output rate is fi xed to 1x speed. spdif outputs synchronous preambles (source code 0- 3) as they are, and ot her elements (source code 4-31) as the biphase output. while the op eration stops, l out put is enabled. synchronous preambles and c bit use 32 frames ( 4.4 ms) for one cycle. the data formats are shown in tables.2 and 3 v bit is fixed to l. u bit uses 98 frames ( 13.3 ms) for one cycle all 0 lsb msb 03 4 1 1 1 2 2 7 2 8 2 9 3 0 3 1 downloaded from: http:///
24/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 table 2. synchronous preamble pattern l0 r0 l1 r1 l2 r2 l3 r3 l4 r4 l5 r5 0 b w m w m w m w m w m w 1 m w m w m w m w m w m w 31 m w m w m w m w m w m w table 3. c bit format l0 r0 l1 r1 l2 r2 l3 r3 l4 r4 l5 r5 0 0 0 copy 0 0 0 1 0 0 1 0 0 0 2 0 0 0 lbit 0 0 3 0 0 1 0 0 1 0 0 4 0 0 0 0 0 0 5 0 0 0 0 0 0 31 0 0 0 0 0 0 table 4. u bit format l0 r0 l1 r1 l2 r2 l3 r3 l4 r4 l5 r5 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 2 1 0 0 0 0 0 0 0 0 0 0 0 3 1 0 0 0 0 0 0 0 0 0 0 0 97 1 0 0 0 0 0 0 0 0 0 0 0 p bit is set to 1 if the number of 1 contained in source codes 4-30 is odd, and set to 0 if the number is even. therefore, the num ber of source codes to be set to 1 for one data must be even, spdif ends with l output, and preamble output always starts in the same direction. downloaded from: http:///
25/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 8.1 spdif output timing unless specified, ta=25 , vdd1=3.3v, load=20pf item symbol rating unit remarks min typ max spdif clock frequency tck - 2.822 - mhz spdif clock high time tck1 157 177 - ns spdif clock low time tck2 157 177 - ns output high voltage voh vdd1-0.4 - - v output low voltage vol - - 0.4 v figure 24. spdif output timing downloaded from: http:///
26/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 9. i 2 c command interface slave i 2 c serial interface signal name i/o function remarks scl i i 2 c interface clock input external pull-up resistor is required. sda i/o i 2 c interface data i/o external pull-up resistor is required. this is an i 2 c serial interface terminal to communica te with the microcomputer (master). it supports slave i 2 c operations. 9.1 i 2 c protocol when the i2c bus is in the idle state, sda and scl ar e set to h by the external pull-up resistor. to start communications, the master sets sda to l while scl set to h (start condition). to finish communications, the master sets sda to h wh ile scl set to h (stop condition). during transfer, the master changes sda only while scl is l. figur e 25. shows start condition and stop condition of i 2 c. figure 25. i 2 c start and stop conditions 9.2 slave address i 2 c bus slave addresses support the 7-bit addressing mode. figure 26. shows the slave address transfer format. figure 26. slave address transfer format table 5. settable slave addresses msb a5 a4 a3 a2 a1 lsb a0 1 0 0 0 0 1 1 9.3 protocol to write from the master when sending commands from the master using the i 2 c bus, be sure to conform to the transfer protocol shown in figure 27. figure 27. command send protocol s a6 a5 a4 a3 a2 a1 a0 r/w ack start condition slave address sent by slave r / w = read / write pulse ack = acknowledge s slave address a data(8bit) r/w a data(8bit) a data(8bit) p a/a from master to slave from slave to master "0"(write) a = acknowledge(sda low) a = no acknowledge(sda high) s = start condition p = stop condition downloaded from: http:///
27/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 9.4 protocol to read to the master when sending the received data from the slave to the master using the i 2 c bus, be sure to conform to the transfer protocol shown in figure 28. first, transfer the status read command (step1). then, input scl clock of required bytes in step2 to read the status. if the device status is busy when receiving the device status or the data within the memory, the i 2 c bus may be occupied by the device in busy. this lsi transfers the dat a to the master to avoid such occupation of the bus. however, as the busy status still exists internally, the proper data may not be transferred in busy. to cope with this situation, the first byte of the transfer data (step2) is used to judge whether the transferred data is valid or invalid. after addressing from the master to the slave, if the 0 bit of the first byte of the transfer data immediately after requiring the data transfer is 0, the data transferred from the slave is valid. if the 0 bit of the first byte is 1, it shows the busy status. thus, judge all the transferred data to be invalid. if this happens, retry step1 to send commands to read the status. the first byte of the transferred data (step2) can be r eadable as the busy byte. please read the status after sending the status read command (step1). in addition, inter nal statuses other than busy shown in table 6. can be read. the first byte of the transferred data (step2) can be r eadable as the busy byte. please read the status after sending the status read command (step1). in addition, inte rnal statuses other than busy shown in table.7 can be read. figure 29. shows the relationship between the transferred data and busy. table 6. busy byte structure figure 28. status re ception protocol figure 29. relationship between transferred data and busy bit status 7 0 6 0 5 0 4 precom 3 irpto 2 search 1 mchng 0 busy s slave address a data(8bit) r/w a data(8bit) p a/a from master to slave from slave to master "0"(write) a = acknowledge(sda low) a = no acknowledge(sda high) s = start condition p = stop condition step1 s slave address a busy(8bit) r/w a data(8bit) p a "1"(read) step2 data(8bit) a step1 command s slave address a busy[0]=1 a data(8bit) p a data(8bit) a r step1 command s slave address a 0x00 a data(8bit) p a data(8bit) a r busy byte busy byte for status busy i2c downloaded from: http:///
28/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 9.5 i 2 c bus line timing table 7. i 2 c bus line timing sda and scl bus-line characteristic (unless specified, ta=25 , vcc=3.3v) parameter code min. max. unit 1 sda, scl h input voltage vih vdd*0.7 vdd v 2 sda, scl l input voltage vil dvss vdd*0.3 v 3 sda h output voltage voh vdd-0.4 vdd v 4 sda l output voltage vol 0 0.4 v 5 scl clock frequency fscl 0 400 khz 6 bus-free-time between "stop" condition and "start" condition tbuf 1.3 s 7 hold time for "start" condition after this, the first clock pulse is generated. thd;sta 0.6 s 8 low status hold-time of scl clock tlow 1.3 s 9 high status hold-time of scl clock thigh 0.6 s 10 data-hold-time thd;dat 0 s 11 date-setup-time tsu;dat 100 ns 12 rising time of sda and scl signal tr 20+0.1*cb 300 ns 13 fall time of sda and scl signal tf 20+0.1*cb 300 ns 14 setup time of "stop" condition tsu;sto 0.6 s 15 capacitive load of each bus-line cb 400 pf the above-mentioned numerical values are all the values corresponding to v ih min and v il max level. *to exceed an undefined area on falling edged of scl, trans mission device should internally offer the hold-time of 300ns or more for sda signal (v ih min of scl signal). because the "repeated start" condition to send "start" cond ition without sending "stop" condition doesn't correspond, after sending "start" condition, always send "stop" condition. neither terminal scl nor terminal sda correspond to 5v tolerant. figure 30. i 2 c bus line timing chart downloaded from: http:///
29/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 10. interrupt signals to microprocessor 10.1 busy busy status detection output signal name i/o function remarks busy o busy status detection output signal h: busy, l: not busy this is output to indicate that the lsi is in the busy status. a busy signal outputs h until analyzing a command from the master and starting the command operation. the command input to this lsi in busy status is unacceptable. connect it to the pio port of the microcomputer. 10.2 mchng tune number change detection output signal name i/o function remarks mchng o tune number change detection output signal h: during playing, l: at the end or stop of tune this signal outputs the information which te lls that the file within the memory is being played or the file to be played is changed. precisely, the signal outputs h during the internal deco de sequence operation, and l at stop of the operation. connect it to t he interruption port of the microcomputer. 10.3 search search status detection output signal name i/o function remarks search o search status detection out put signal h: search, l: not search this is output to indicate that the lsi is in the search status. a search signal becomes h at the time of memory mount, file search, tag analysis and toc analysis. this signal is or of the 2-bit search status. the lsi ignores command input during search. however, it can accept only abort, stop and status read commands even during search and can execute them command. connect it to the pio port of the microcomputer. 10.4 irpto interrupt output to microcomputer signal name i/o function remarks irpto o interrupt output to microcompu ter h: interrupt, l: not interrupt this is output to indicate that the lsi is now requiring interruption to the microcomputer. change from l to h shows that an interruption has occurred. when signage is h, it is shown that interrupt occurs. connect it to t he interruption port of the microcomputer. downloaded from: http:///
30/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 11. file search 11.1 function - the file search function supports file system of fat32, fat16 and fat12. (ntfs is not supported.) - the number of maximum playable files per folder follows the specification of fat. table 8. maximum playable files per folder root folder sub folder fat12 512 65534 fat16 512 65534 fat32 65535 65534 the number of files described above includes folders and files other than playable files (wav/aac/wma/mp3). thus, if non-playable files or folders contain in the ab ove folders and the number of total files exceeds the maximum limit, all the playable files may not be played. - less than 256 files in the order of fat within each folder are sorted according to unicode. more than 256 files, if any, will be sorted in the fat order. the same rule is applied when sorting sub-folders. more than 100 sub-folders, if any, will be sorted in the fat order. so rting function can be selected valid or invalid with a command. the folder hierarchies up to 16 hierarchies whose full path including the file name is within 260 characters can be searched. 11.2 playable file the playable file extension is *.wav for the wav file , *.m4a, *.3gp and *.mp4 for the aac file, *.asf and *.wma for the wma file, and *.mp3, *.mp2 and *.mp1 for the mp 3 file. (there is no distinction between upper case letters and lower case letters.) note that t he file operation differs in the following cases ? codec selection command: for details, please see set_mp3 / set_wma / set_ aac / set_wav / set_mp3_play command specifications. ? attribute: files with hidden attributes are also play able. files with system attributes cannot be played. ? file name: the file name, including its size, does not depend on playability. ? file size: a file with fi le size "0" is not recognized as a playable file. 11.3 file playing sequence the file playing sequence depends on the following rules when sort function valid. see figure 28. [1] files of 1 to 256, in the order written to fat (fat order) in each folder, are sort ed in the order of unicode. files more than 256 are played in the fat order. the same rule is applied when sorting sub-folders. all the folders including null ones and those to which no pl ayable file is written are sorted (selectable setting by command). if over 256 playable files or sub-folders are c ontained in the folder, they are played in the order written to the fat directory entries. the writing method of directory entries will not help und erstand the file play order because the method depends on the os operation at writing. [2] when a playable file exists in the root folder (the top hierarchy), the file is to be played first. [3] after all the playable files within the root folder hav e been played, playable files in the folder in the lower hierarchy, if any, are played. [4] if another folder exists in the lower hierarchy, playable f iles within this folder are played. if not, the lsi searches other folders in the same hierarchy. if another fo lder exists there, the lsi plays that folder. [5] after playing all the files, the lsi returns to the root folder as in [2] and play the files starting with the top sorted one. downloaded from: http:///
31/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 11.4 folder/file sort the lsi sorts the sub-folders and files in the following sequence: [1] obtain up to 256 sub-folders and files each in t he order written to fat within selected folder. [2] compare the obtained folder/file names for 8 charac ters (16 bytes) from the beginning in unicode (2-byte character) and sort them in the ascending order. * [3] if there are files/folders with same character stri ngs: follow the order of mp3, wma, aac and wav when the extension is different; and, otherwise, follow the order written to fat. [4] 101 or more files or sub-folders follow the order written to fat. * the processing of the file name and the folder name is shown in the following. 1) when a lfn (long file name) entry exists, 2 bytes are treated as one character. 2) when no lfn entry exists, the sfn(short f ile name) entry is processed as follows. 2-a) when the first appeared character code is within the range of 0x00-0x7f (us-ascii), the lsi treats one byte as one character, and adds '0x00' to the upper of the character to expand the entire character to an unicode. 2-b) for a case other than 2-a), practically, t he lsi treats these 2 bytes as one character. *for details on lfn and sfn, see the fat file system specifications. [root folder] a.mp3 b.mp3 c.mp3 a_folder d.mp3 e.mp3 f.mp3 g.mp3 h.mp3 b_foder i.mp3 j.mp3 c_folder k.mp3 l.mp3 m.mp3 n.mp3 o.doc p.xls q.mp3 d_folder r.txt s.txt t.txt e_folder u.mp3 v.mp3 w.mp3 x.mp3 y.mp3 z.mp3 ? figure 31. example of folder/file structure within the memory device downloaded from: http:///
32/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 table 9. file play sequence for folder/file structure in figure 28. playing sequence file to be played remarks 1 a.mp3 -the lsi first starts playing the playable files in the root folder, if any. -the files are played in the ascending order of unicode gi ven to each file name. 2 b.mp3 3 c.mp3 4 d.mp3 -after playing all the playable files in the root folder, the lsi searches folders in the lower hierarchy. -the folders are searched in the ascending order of unicode given to each folder name. 5 e.mp3 6 f.mp3 7 g.mp3 8 h.mp3 9 i.mp3 10 j.mp3 11 k.mp3 12 l.mp3 13 m.mp3 14 n.mp3 15 q.mp3 -unplayable files are ignored. 16 u.mp3 -after playing all the playable files including those in a_folder and in its lower hierarchy, the lsi moves to the hierarchy in which a folder exists and searches files. -in this case, since no playable file exists in d folder, which is in the same hierarchy of a_folder, the lsi plays the playable files in e folder in the further lower hierarchy. 17 v.mp3 18 w.mp3 19 x.mp3 20 y.mp3 21 z.mp3 11.5 search within multi-drive and multi-partition if a device is a multi-drive type or multi partition type, the lsi can recognize t he drive by selecting lun (logical unit number) for the supporting fat. if particular lun isnt selected, the lsi mount s the device whose lun det ected first. (default) it is possible that test unit ready of ot her luns is confirmed during the playback. 11.6 external hub search when the usb connector is connected to a hub, and a fat- supported drive is connec ted ahead of the hub at mounting the usb for this lsi, only one drive is recognized. the lsi does not support external hubs , it cannot detect plugging/unplugging of the drive ahead of the hub after the usb is mounted. downloaded from: http:///
33/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 12. playing files 12.1 function for the files judged to be playable through the file sear ch function, the lsi automatic ally switches the decoder using the file extension and decodes these files. fast forward play and rewinding play operations are available. also, repeat play and random play are available. 12.2 playable file formats 12.2.1 mp3 file format this format supports mpeg audio 1, 2, 2.5 and layer 1, 2, 3. it supports sample rates of 8 khz, 16 khz, 32 khz, 11 .025 khz, 22.05 khz, 44.1 khz, 12 khz, 24 khz and 48khz. it supports bit rates of 8 to 320kbps and vbr (variable bit rate). 12.2.2 wma file format this format supports wma ver.9 standard. it supports sample rates of 8 khz, 16 khz, 32 khz, 11.025 khz , 22.05 khz, 44.1 khz and 48 khz. it supports bit rates of 5 to 384kbps and vbr (variable bit rate). it does not support drm. it supports asf files including audio streams only. 12.2.3 aac file format this format supports mpeg4 aac-lc. it conforms to itunes and 3gpp ts 26.244. it supports file types of m4a, mp42 and 3 gpx. (x is an arbitrary numeric value.) itunes is validated in the following vers ions: 4.*, 5.*, 6.* and 7.0-7.5. it supports sample rates of 8 khz, 16 khz, 32 khz, 11.025 khz, 22.05 khz, 44.1 khz, 12 khz, 24 khz and 48 khz. it supports bit rates of 8 to 320kbps and vbr (variable bit rate). it does not support drm. 12.2.4 wav file format this format supports riff wave. it supports sample rates of 8 khz, 16 khz, 32 khz, 11.025 khz, 22.05 khz, 44.1 khz, 12 khz, 24 khz and 48k hz. if you try to play a file created in any format other t han above, the lsi immediately terminates decoding it. 12.3 playing files having damaged data if the data section of the mp3 file is damaged, the lsi plays the music data in the possible range instead of ceasing to play the entire file. it mutes the unplayable section. however, amute terminal remains h output. if the data section of the wav file is damaged, noises are output. the lsi executes other files within the playable range an d stops playing. then, it skips to the next tune. if a part of the data header is dama ged, the lsi immediately terminates playing and skips to the next tune. if the files extension is playable but its files data does not have a format supporting to the extension, the lsi immediately terminates playing and skips to the next tune. if the file does not have a file format, the lsi immediately terminates playing and skips to the next tune. however, when the file data is structured in a format ot her than mp3 and its file exte nsion is *.mp3, *.mp2 or *.mp1, the lsi plays it in t he silence mode basically. however, if the lsi can read any playable data, it plays the file partially. in this case, the time information which is output as the serial status also becomes unstable. the time information is then partially output but you cannot obtain the correct information. downloaded from: http:///
34/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 12.4 next playing mode and repeat playing mode you can select the operation as shown below dependi ng on the next playing mode, repeat mode and random mode. next playing mode [1] play_next: automatically searches the next tune after the tune being played ends and starts playing the next tune. [2] play_all_stop: after the last tune being play ed within the memory ends, stops upon completion of search for the next tune. starts playing the next tune by the play command issued subsequently. [3] play_fol_stop: after the last tune being played within the folder ends, stops upon completion of search for the next tune. starts playing the next tune by the play command issued subsequently. [4] play_tun_stop: after the tune being played ends, stops upon completion of search for the next tune. starts playing the next tune by the play command issued subsequently. repeat mode repeat_all: after playing all the tunes within the memory in process, starts playing them from the beginning of the memory. repeat_fol: repeats playing tunes wi thin the folder in process. repeat_tun: repeats playing the tune in proc ess. the operation at the time of ff and fb command reception follows a setup of a set_reprand command. random_all: plays the range of 128 files from t he current tune being played at random within the memory. random_fol: plays the range of 128 files from t he current tune being played at random within the folder in process. select one operation from next play mode and repe at mode respectively to determine the operation. when repeat mode is repeat_fol, the play_all_stop becomes invalid, and serves as play_next. when repeat mode is [3][4][5], the play_all_stop and play_fol_stop becomes invalid, and serves as play_next. repeat_all repeat_fol repeat_tun random_all random_fol [1] play_next [2] play_all_stop [3] play_fol_stop [4] play_tun_stop downloaded from: http:///
35/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 13. command operations 13.1 write command the lsi allows command operations from an external microcomputer via a slave i 2 c serial interface. the command length to be sent varies depending on the command. table 9. shows the co mmand specifications. table 10. shows enabled/disabled state of each command. table 9. command operations command name comma nd command explanation of operation byte length 1st 2nd 3rd 4th config chg_system_mod e 4 0x60 0x00 n 0x00 ? set up system operation mode. ? please choose 3rd byte n from the following. the other setup does not receive a command. please be sure to perform the changes to each mode via config mode. the changes betw een player mode and filere ad mode cannot be performed directly n= 0x00 ; config mode n= 0x01 ; player mode n= 0x02 ; file rw mode the initial setting is n= 0x00. stop 2 0x60 0x01 - - ? when receiving the stop command, end the present processing and shift to the initial state in each system operation mode. ? playing of a file will be stopped when receiving the stop command during playing, a stop, and file search. ? playing of a file will be stopped when receiving the stop command during fast forward or fast back playing. ? after stopping playing the file, the lsi restarts playing it from the tune being stopped. however, if the memory is removed and new one is inserted before restarting, the lsi returns to the top tune of the memory. abort 4 0x60 0x02 0x01 0x00 ? suspends folder analysis. after suspend, the analysis state becomes "not analyzed" and the cursor position becomes invalid. in order to reset this status, it is necessary to transmit an analyze_root command, and it is necessary to make the cursor position valid. after analyze_root command, contents acquisition of a desired folder can be performed. it is not necessary to analyze intermediate folders one by one from a route folder. ? the lsi suspends analysis only and continues playing the file when receiving the abort command. chg_dev 2 0x60 0x03 - - ? this command select device between usb memory and sd memory card. to do this, both devices must be connected or one device is provided against the other (usb memory against sd memory card, and vice versa). any other cases will be ignored. ? after the device is selected, the system operation mode remains the previous mode (before selecting) and goes to the initial state. ? the setting values of the individual commands remain as they are. however, those of the repeat and random command s return to the initial values. dis_wdt 2 0x60 0x04 - - ? this command disables watch dog timer. ? initial setting is that watch dog timer function is effective. set_wdt 2 0x60 0x05 - - ? this command writes 1 to status wdt_rflg when it is executed. set_sort 4 0x60 0x06 n 0x00 ? set up file sorting operation in a memory. ? select n at the 3 rd byte from the following. any setting other than n=0x00 is considered to specify n=0x01. n=0x00: disables sorting of files/folders. data is read out in the order that is written to fat. n=0x01: enables sorting of files/folders. ? initial setting is n= 0x01. a sorting function is effective. downloaded from: http:///
36/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 set_12mout 4 0x60 0x07 n m ? set up clkout12 terminal and a mclk terminal output. ? select n at the 3 rd byte from the following. any other settings will not accept the command. n=0x00: disables 12 mhz clock output from the clkout12 terminal. n=0x01: enables 12 mhz clock output from the clkout12 terminal. ? select m at the 4 th byte from the following. any other settings will not accept the command. m=0x00: disables 12.288mhz/16.9344 mhz clock output from the mclk terminal. m=0x01: enables 12.288mhz/16.9344 mhz clock output from the mclk terminal. ? the 16.9344 mhz clock is a clock which buffers the input from the xin_pll terminal. ? the 12.288 mhz clock is divided from clk24mi terminal input. ? initial setting is n= 0x00 and m= 0x00. output is invalid. set_mp3 4 0x60 0x09 n 0x00 ? select the layer of the mpeg audio to play. ? select n at the 3 rd byte from the following. any setting other than n=0x00 is considered to specify n=0x01. n=0x00: plays all the files having extension mp1, mp2, and mp3. n=0x01: plays the files having extension mp3 only. ? initial setting is n= 0x00. all the files of mp1, mp2, and mp3 are reproduced. set_lbit 4 0x60 0x0d n 0x00 ? set up lbit and a copy bit when spdif output. ? select n at the 3 rd byte from the following. any setting other than n=0x01 is considered to specify n=0x00. n=0x00: spdif lbit=1, copy bit = 0 (copy disabled). n=0x01: spdif lbit=0, copy bit = 1 (copy enabled). ? initial value is n= 0x00, (ban on a copy). set_utpkt 4 0x60 0x0f n 0x00 ? set up a usb terminal output. ? select n at the 3 rd byte from the following. any other setting is considered to specify n=0x01. n=0x00: normally operating terminal n=0x01: outputs a test packet from the usb terminal. ? initial value is n= 0x00. get_dev_free 4 0x60 0x10 0x00 0x00 ? analyze the availability of the media selected now. ? the lsi starts analyzing the free space after receiving the command. during analysis, search=0x1 is set. upon completion of analysis, search=0x0 is set. ? after analyzing the free space, you can use the read_dev_free command to obtain the current free space. ? the lsi does not monitor the free space automatically. whenever changing the system operation mode or the selected media, you should restart analysis. set_tout_tur 4 0x60 0x18 0x01 n ? specify the wait time after the first-time test unit ready command in usb memory mount operation. ? setting value [value of set_tout_tur] x 2 x [value of set_retval] becomes the wait time. ? initial setting is n=0x4 ( 4 x 2 x 375 = 3,000msec). ? specify n within the range from 0x00 to 0xff. set_idl_time 8 0x60 0x18 0x02 0x00 ? specify the idle time after usb memory bus reset. ? specify the setting value to the 5 - 6th byte with a little endian. ? setting value {6 th=m, 5 th=n} x0.167 (usec) becomes wait time. ? initial setting is 220usec (setting value =1325= {m=x05, n=x2d}) . ? specify setting value within the range from300 (50usec) to 9000 (1.5msec). set_usb_r_wait 6 0x60 0x18 0x03 0x00 the wait time after bus reset is set up at the time of usb memory recognition ? specify the setting value to the 5 - 6th byte with a little endian. ? setting value {6 th=m, 5 th=n} x200 (msec) is wait time. an initial value is 600 msec (n,m=0x0300), and maximum value is 13107 sec (n,m=0xffff). set_tout_m 4 0x60 0x18 0x04 0x00 the ack timeout of the command under memory mount is set up. the set point x100 (msec) is timeout. at the time, 5 th byte is upper byte and 6 th byte is lower byte. an initial value is 30 sec (5 th byte =0x2c, 6 th byte =0x01), and maximum value is 60 sec (5 th byte =0x58, 6 th byte =0x02).if set point is over the maximum value, this command is ignored. mount error will be carried out if a timeout occur. set_tout_c 4 0x60 0x18 0x05 0x00 the ack timeout of the commands at the time of play or stop or pause and sector read under memory mount is set up. the set point x100 (msec) is timeout. at the time, 5th byte is upper byte and 6th byte is lower byte. an initial value is 5 sec (5th byte =0x32, 6th byte =0x00), and maximum value is 60 sec (5th byte =0x58, 6th byte =0x02). if set point is over the maximum value, this command is ignored. communication error will be carried out if a timeout occur. downloaded from: http:///
37/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 set_usb_getdev_ f 6 0x60 0x18 0x06 0x00 ? specify the timeout value for device descriptor acquisition in the head of usb memory mount operation. ? specify the setting value to the 5 - 6th byte with a little endian. ? setting value {6 th=m, 5 th=n} x100 (msec)becomes timeout value. ? communication error will be carried out if a timeout occur. ? initial setting is n=100 ( 10sec). ? specify n within the range from 0x1 to 0xffff. set_testu_mode 4 0x60 0x18 0x07 n ? specify the operation for the first-time test unit ready command in usb memory mount operation. ? select n from the following. any other settings will not accept the command. n= 0x00 : retry is performed according to the setting value of a set_retval command. n= 0x01 : retry is performed infinitely. n= 0x02 : cancels infinite retry of n=0x01 setting. ? initial setting is n= 0x00 (retry is performed according to the setting value of a set_retval command.) set_usbcmd_can 8 0x60 0x18 0x08 0x00 ? specify the initialization procedure performed in usb memory mount operation. ? specify the mask of the initialization procedure with a little endian. ? the following bit values should be used for an initialization procedure mask. when a bit is 0, an applicable initialization procedure is performed. when a bit is 1, an applicable initialization procedure is not performed. 0x0001 : get_device_status 0x0002 : clear_feature 0x0004 : set_address 0x0008 : get_descriptor 0x0010 : get_config 0x0020 : set_config 0x0040 : get_lun 0x0080 : clear_port_feature 0x0100 : get_port_status 0x0200 : set_port_feature 0x0400 : get_hub_descriptor 0x0800 : inquiry 0x1000 : test_unit_ready 0x2000 : request_sense 0x4000 : read_capacity ? initial setting is0x0000 . ? please specify 0 to 7th-8th byte. set_retval 6or8 0x60 0x18 0x09 n ? specify the retry operation performed in usb memory mount operation. ? specify the setting value from the 5th byte with a little endian. ? the length of a setting value changes with values of n. ? select n from the following. any other settings will not accept the command. n = 0x00: specify the number of times of execution of sector read at 2 bytes. setting value+1 becomes the number of times of execution. initial setting is 3. specify n within the range from 0x0 to 0xffff. n = 0x01: specify the times of retry for first-time device descriptor acquisition at 2 bytes. initial setting is 3. specify n within the range from 0x1 to 0xffff. n = 0x02: specify the number of times of execution of the first-time test unit ready command at 2 bytes. initial setting is 375. specify n within the range from 0x0 to 0xffff. n = 0x05: specify the timeout setting in the hub port scan at 4 bytes. initial setting is 30000. specify n within the range from 0x1 to 0xffff_ffff. n = 0x06: specify the number of times of execution of the second-time test unit ready command at 2 bytes. initial setting is 375. specify n within the range from 0x0 to 0xffff. set_retrymode 6 0x60 0x18 0x0a n ? specify the operation for the each processing in usb memory mount operation. ? select 5th byte from the following. 0x00 : retry is performed according to the preset value or specified value by command. 0x01 : retry is performed infinitely. 0x02 : cancels infinite retry setting (0x01). ? select n from the following. any other settings will not accept the command. n= 0x01: specify the operation of sector read. n= 0x02: specify the operation of first-time device descriptor acquisition n= 0x03: specify the operation of hub port scan. n= 0x04: specify the operation of the waiting for the ack response for other command request. n= 0x05: specify the operation of wait after first-time bus reset. set_tur_pass 4 0x60 0x18 0x0b n ? specify the operation after test unit ready timeout in usb memory mount operation. ? select n from the following. any other setting is considered to specify n=0x01. n=0x00: testunitready timeout is considered as mount failure. n=0x01: if the number of effective lun is one, continues mount operation. ? initial value is n= 0x00. downloaded from: http:///
38/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 set_testu_mode2 4 0x60 0x18 0x0c n ? specify the operation for the second-time test unit ready command in usb memory mount operation. ? select n from the following. any other settings will not accept the command. n= 0x00 : retry is performed according to the setting value of a set_retval command. n= 0x01 : retry is performed infinitely. n= 0x02 : cancels infinite retry of n=0x01 setting. ? initial setting is n= 0x00 (retry is performed according to the setting value of a set_retval command.) set_tout_tur2 6 0x60 0x18 0x0d 0x00 ? specify the wait time after the second-time test unit ready command in usb memory mount operation. ? setting value [value of set_tout_tur2] x 2 x [value of set_retval] becomes the wait time. ? specify the setting value to the 5 - 6th byte with a little endian. ? initial setting is n=0xff (255 x 2 x 375 =191,250msec). ? specify n within the range from 0x00 to 0xffff set_emp_dir 4 0x60 0x1a n 0x00 ? at the time of the fat analysis, a number isn't given to folders which the file which can reproduce is not in through. ? select n at the 3 rd byte from the following. any other setting is considered to specify n=0x01. n=0x00 ; a number is assigned in folders as well which the file which can reproduce is not in through. n=0x01 ; a number isnt assigned in folders as well which the file which can reproduce is not in through. ? initial value is n= 0x00. sel_irpto 4 0x60 0x1b n 0x00 ? specify the mode of irpto signal output condition. ? in variable interruption mode, irpto is unified output by two or more status change. master microcomputer can select the status. ? in fixed interruption mode, irpto is output by single status change according to system mode. ? select n from the following. any other setting is considered to specify n=0x00. n=0x00: variable interruption mode n=0x01: fixed interruption mode ? initial value is n= 0x00(variable interruption mode) set_mask_irpto_ 00 4 0x60 0x1c 0x00 n ? mask is done from the movement of irpto toward each bit of the status register status1 (offset : 0x0000). mask is done with bit which 'h' was set up to from the interruption factor of irpto initial value is 0x7a. ? refer to 6.4.12 for the details of the movement. set_mask_irpto_ 02 4 0x60 0x1c 0x02 n ? mask is done from the movement of irpto toward each bit of the status register status1 (offset : 0x0002). mask is done with bit which 'h' was set up to from the interruption factor of irpto initial value is 0x3f. ? refer to 6.4.12 for the details of the movement. set_mask_irpto_ 22 4 0x60 0x1c 0x22 n ? mask is done from the movement of irpto toward each bit of the status register status1 (offset : 0x0022). mask is done with bit which 'h' was set up to from the interruption factor of irpto initial value is 0x4e. ? refer to 6.4.12 for the details of the movement. set_mask_irpto_ 2f 4 0x60 0x1c 0x2f n ? mask is done from the movement of irpto toward each bit of the status register status1 (offset : 0x002f). mask is done with bit which 'h' was set up to from the interruption factor of irpto initial value is 0x75. ? refer to 6.4.12 for the details of the movement. set_mask_irpto_ 37 4 0x60 0x1c 0x37 n ? mask is done from the movement of irpto toward each bit of the status register status1 (offset : 0x0037). mask is done with bit which 'h' was set up to from the interruption factor of irpto initial value is 0xf8. ? refer to 6.4.12 for the details of the movement. set_nodiff 4 0x60 0x21 0x00 n ? when folder and file are sorted. it is configured whether it cases sensitivity of the alphabet. when it was configured without a distinction. it becomes only alphabet ("a" - "z" and "a" - "z") that it is equated. ? select n at the 4 rd byte from the following. any other setting is considered to specify n=0x01. n=0x00 ; alphabet doesn't case sensitivity. n=0x01 ; alphabet cases sensitivity. ? initial value is n= 0x00. downloaded from: http:///
39/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 set_ignore 12 0x60 0 22 0x00 n ? specify the character string disregarded at the time of sorting files and folders. ? the specified character string is compared with the head of the name. ? specify 4byte ascii character string to 5-8th byte. ? if the ascii character is less than 4byte, fill with 0x00 data. ? select n from the following. n=0x00 ; normal sort. specified character is not disregarded. n=0x01-0x04 ; specified character is disregarded. specify character length to n. ? initial value is n= 0x00.(normal sort) set_src_off 4 0x60 0x23 0x00 0x01 ? sample rate converter is used in off ? sample rate converter can't be turned on by the command. turned on it by the ic reset. set_sd 4 0x60 0x24 n m ? specify the use of a serial bus. ? select n from the following. n=0x00:no effective-i/f n=0x01:sd i/f ? initial setting is n=0x00(no effective-i/f). ? select m from the following. m=0x00: initialization processing is carried out after detecting sd connection. m=0x01: initialization processing is not carried out after detecting sd connection. ? initial setting is m=0x00(initialization processing is carried out). ? when select m=0x01, send set_sd_info command in advance. auto_recog_lun 4 0x60 0x25 n 0x00 ? when multiple lun device is connected, the auto polling of the test unit ready to each lun is enabled. ? the result of the polling is saved to lun_ready status. then, lun_ready_renew status notifies the updating. ? select n from the following. any other setting is considered to specify n=0x01. n=0x00 ; the auto polling of the test unit ready is disabled. n=0x01 ; the auto polling of the test unit ready is enabled. ? initial setting is n=0x00(the auto polling of the test unit ready is disabled). set_recog_tim 4 0x60 0x26 0x00 n ? cycles to do the auto polling of auto_recog_lun is configured. ? set value x200 (msec) becomes the cycle of the polling performance. ? initial value is 1sec. recog_lun 4 0x60 0x27 0x00 0x00 ? check test unit ready of each lun , and update lun_ready status only once. set_wma 4 0x60 0x28 0x00 0x00 ? the file of the extension "wma', "asf" is removed from the playback object. ? the configuration of this command can't do exemption by the command. exempt it by the ic reset. set_aac 4 0x60 0x29 0x00 0x00 ? the file of the extension"mp4', "m4a", "3gp" is removed from the playback object. ? the configuration of this command can't do exemption by the command. exempt it by the ic reset. set_lun 4 0x60 0x31 0x00 n lun, which usb memory mounts, is specified. lun specified at the time of usb connection mounts. when another lun is already mounted, re-mounts by force_discon_usb command and force_con_usb command, when not specifying lun, effective lun becomes an auto setup and lun detected first is mounted at the time of usb memory connection. (initial value) reset_lun 4 0x60 0x32 0x00 0x00 effective lun is set to auto and lun detected first comes to be mounted at the time of usb memory connection. force_discon_us b 4 0x60 0x33 0x00 0x00 force usb memory to be disconnected. force_con_usb 4 0x60 0x34 0x00 0x00 mount usb memory again,. downloaded from: http:///
40/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 force_discon_sd 4 0x60 0x36 0x00 0x00 force sd card to be disconnected force_con_sd 4 0x60 0x37 0x00 0x00 mount sd card again. set_sd_tmout 8 0x60 0x38 0x01 n ? specify the timeout value for sd cad mount operation. ? specify the setting value to the 5 - 8th byte with a little endian. ? setting value (msec) becomes timeout value. ? if setting value is 0 , retry is performed infinitely until it is cancelled by set_sd_abort command. ? select n from the following. any other settings will not accept the command. n=0x00: specify timeout of the whole sd mount operation. initial setting is 30000. n=0x01: specify timeout of the first-time cmd8 response. initial setting is 500. n=0x02: specify timeout of the second-time cmd8 response. initial setting is 1000. n=0x03: specify timeout of the sector reading. initial setting is 5000. set_sd_abort 4 0x60 0x38 0x00 0x00 ? cancels infinite retry of sd mount operation by set_sd_tmout command. ? sd mount operation is failed. set_wav 4 0x60 0x39 0x00 0x00 ? remove the file of extension "wav" for reproduction. ? a setup of this command cannot be canceled. please reset the lsi. set_mp3_play 4 0x60 0x3a 0x00 0x00 ? remove the file of extension "mp3", "mp1", and "mp2" for reproduction. ? a setup of this command cannot be canceled. please reset the lsi. set_usb_subc 4 0x60 0x3b 0x00 m ? specifies valid subclass code for usb mount operation. ? specify the combination of the following bits to m 0x01 : the subclass 0x01 is valid. 0x02 : the subclass 0x02 is valid. 0x04 : the subclass 0x03 is valid. 0x08 : the subclass 0x04 is valid. 0x10 : the subclass 0x05 is valid. 0x20 : the subclass 0x06 is valid. ? initial setting is m=0x30 (the subclass 0x05 and 0x06 is valid). enable_mediadrv 4 0x60 0x3c 0x00 0x00 ? enables usb memory/sd card mount operation. ? usb memory/sd card mount operation is disabled until this command is received. set_sd_info 10 0x60 0x3d n n ? specify the inside information of sd driver. ? when you select m= 0x01 (initialization processing is not carried out) for set_sd command, send set_sd_info command in advance. ? specify 8 bytes data acquired by the read_sd_status command to the 3rd - 10th byte. set_patch_code 4 0x6f 0x03 0x00 0x00 ? download a patch image packet to this lsi. ? specify the start offset of the patch image packet to the 5-6th byte with a l ittle endian. ? specify the length of the patch image packet to the 7-8th byte with a little endian. ? specify the patch image packet after the 9th byte. ? the maximum length of the patch image packet is 502 bytes. ? specify 2 bytes crc16 after the patch image packet with a little endian. ? when crc16 is not right, the command is not accepted and precom status becomes h. set_patch_crc 4 0x6f 0x03 0x01 0x00 ? validate the patch image. ? specify the crc16 of the whole patch image to the 5-6th byte with a little endian. ? specify the length of the whole patch image to the 7-8th byte with a little endian. ? when crc16 or length is not right, the command is not accepted and precom status becomes h. downloaded from: http:///
41/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 play control play 2 0x61 0x01 - - ? when receiving the play command during stop, the lsi starts playing the file currently selected. ? when receiving the play command during pause, the lsi starts playing the file at the paused time. ? when receiving the play command in the config mode, the lsi automatically goes to the player mode and plays the first tune in the sort order. pause 2 0x61 0x02 - - ? when receiving the pause command during play, the lsi pauses playing of the file home 4 0x61 0x03 n 0x00 ? when receiving the home command, the lsi searches files of the first tune within the memory. ? tag analysis, if it is enabled, is performed. ? it is not the first tune in the memory at the time of the random setup, but it is moved for the tune chosen at random. ? select n at the 3 rd byte from the following. any setting other than n=0x00 is considered to specify n=0x01. n=0x00: stops after search is completed. n=0x01: starts playing after search is completed. playmode 4 0x61 0x04 n 0x00 ? when receiving the playmode command, the lsi changes play mode in accordance with the setting of n in the 3 rd byte. ? during play, the play mode is immediately changed. during stop, this command cannot start playing the file. ? select n at the 3 rd byte from the following. any other settings will not accept the command. n=0x00: changes to normal play. n=0x01: changes to fast forward. n=0x02: changes to rewind. ? initial setting is n= 0x00. it is normal playing. vol+ 4 0x61 0x06 0x01 0x00 ? when receiving the vol+ command, the lsi controls the sound volume step by incrementing by 1. ? the sound volume is controlled in 32 steps from - (minimum volume) to 0 db (maximum volume). vol- 4 0x61 0x06 0x02 0x00 ? when receiving the vol- command, the lsi controls the volume step by decrementing by 1. ? the sound volume is controlled in 32 steps from - (minimum volume) to 0 db (maximum volume). repeat 4 0x61 0x06 0x03 0x00 ? this command changes the mode for repeat. ? repeat command toggles as: memory repeat ->1 music repeat -> folder repeat. ? for the settings of the repeat, random, and set_reprand commands, the one finally set becomes enabled. ? initial setting is the all-songs repeat in a memory. random 4 0x61 0x06 0x04 0x00 ? this command changes the mode for random play. ? if random play is enabled, the lsi plays the currently-played file at random in the area of 128 files in the sort order. ? the random command toggles as: normal play repeat all the tunes within the memory. ? for the settings of the repeat, random and set_reprand commands, the one finally set becomes enabled. ff 4 0x61 0x07 m n ? when receiving the ff command during play, pause, or stop, the lsi searches the file n tunes ahead from the file being played or paused in the sort order. ? if the number of remaining files is less than n in the sort order, the lsi searches back to the first file. ? if n=0, the lsi searches the current file. ? if repeat or random is set, the lsi searches the next file in accordance with the setting. however, if repeats one tune is set, the lsi searches the next file in accordance with the set_reprand command setting. ? if tag analysis is enabled, the lsi also performs that analysis. ? after searching, the lsi operates in accordance with the setting in the 3 rd byte. select m at the 3 rd byte from the following. any setting other than m=0x00 is considered to specify m=0x01. m=0x00: stops after search is completed. m=0x01: starts playing after search is completed. ? the number of tunes to be searched depends on the setting of n in the 4th byte. downloaded from: http:///
42/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 fb 4 0x61 0x08 m n ? when receiving the fb command during play, pause, or stop, the lsi searches the file, n tunes back from the file being played, paused or stopped, in the sort order. ? when the lsi play is playing a tune in less than n files from the top in the sort order, it searches the first tune. however, only when the file to be searched is the first tune within the memory in the repeat within the memory setting, the lsi searches the file across the last tune within the memory to the first one. if the file to be searched is the first file within the folder in the repeat within the folder setting, the lsi searches the file within the same folder. ? if n=0, the lsi searches the top of the current file. however if it receives the fb command with n=0 when the play time is within 1 second, the lsi searches the top of the previous tune. ? if repeat or random is set, the lsi searches files in accordance with the setting. however, if repeats one tune is set, the lsi searches the next file in accordance with the set_reprand command setting. ? if tag analysis is enabled, the lsi also performs that analysis. ? after searching, the lsi operates in accordance with the setting in the 3 rd byte. select m at the 3 rd byte from the following. any setting other than m=0x00 is considered to specify m=0x01. m=0x00: stops after search is completed. m=0x01: starts playing after search is completed. ? the number of tunes to be searched depends on the setting of n in the 4th byte. fol+ 4 0x61 0x09 m n ? when receiving the fol+ command during play, pause, or stop, the lsi searches the folder n tunes ahead from the one having the file being played, paused or stopped in the sort order. ? if the remaining folders are less than n in the sort order, the lsi returns to the first folder. ? even if repeat or random is set, the lsi searches the file in the status where repeat mode is set. ? search the file chosen at random when random is set. ? if n=0, the lsi searches the top of the current folder. ? if tag analysis is enabled, the lsi also performs that analysis. ? after searching, the lsi operates in accordance with the setting in the 3 rd byte. select m at the 3 rd byte from the following. any setting other than m=0x00 is considered to specify m=0x01. m=0x00: stops after search is completed. m=0x01: starts playing after search is completed. ? the number of tunes to be searched depends on the setting of n in the 4th byte. fol- 4 0x61 0x0a m n ? when receiving the fol- command during play, pause, or stop, the lsi searches the folder n tunes back from the one having the file being played or paused in the sort order. ? when playing a tune less than n folders from the top in the sort order, the lsi returns to the first folder. however, when playing a file within the first folder, the lsi searches the folder across the last tune within the memory. ? even if repeat or random is set, the lsi searches the file in the status where repeat mode is set. ? search the file chosen at random when random is set. ? if n=0, the lsi searches the top of the current folder. ? if tag analysis is enabled, the lsi also performs that analysis. ? after searching, the lsi operates in accordance with the setting in the 3 rd byte. select m at the 3 rd byte from the following. any setting other than m=0x00 is considered to specify m=0x01. m=0x00: stops after search is completed. m=0x01: starts playing after search is completed. ? the number of folders to be searched depends on the setting of n in the 4th byte. play_resume 46 0x61 0x0b 0x00 n ? this command sets 42-byte data obtained by the read_resume_info command to 5 th -46 th bytes. ? set the data in ascending order of the offsets obtained by the read_resume_info command. ? select n at the 4 rd byte from the following. any other setting is considered to specify n=0x01. n=0x00 ; playback is started in the time when read_resume_info command was forwarded. n=0x01 ; stop (pause) in the time when read_resume_info command was forwarded. n=0x02 ; playback is started from the front of the tune when read_resume_info command was forwarded. n=0x03 ; stop (pause) the front of the tune when read_resume_info command was forwarded. ? if the resume target cannot be searched, the lsi searches the first tune of in the device and plays or stop (pause). downloaded from: http:///
43/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 play setting set_dout 4 0x61 0x10 0x00 n ? this command sets audio output. ? select n at the 4 th byte from the following. any other settings will not accept the command. n=0x00: outputs via audio line. n=0x01: outputs using the digital audio interface (spdif). n=0x02: outputs in i 2 s(32fs) format. n=0x03: outputs in i 2 s(48fs) format. n=0x04: outputs in i 2 s(64fs) format. n=0x05: outputs in eiaj(32fs) format. n=0x06: outputs in eiaj (48fs) format. n=0x07: outputs in eiaj (64fs) format. ? by default, n=0x00: "audio line output" is set. set_eq 4 0x61 0x10 0x01 n ? this command sets the equalizer. ? set n at the 4 th byte from the following. any other settings will not accept the command. n=0x00: eq off n=0x01: pops n=0x02: jazz n=0x03: rock n=0x04: classic n=0x05: r&b n=0x07: eq off n=0x08: bass boost1 n=0x09: pops + bass boost1 n=0x0a: jazz + bass boost1 n=0x0b: rock + bass boost1 n=0x0c: classic + bass boost1 n=0x0d: r&b + bass boost1 n=0x0f: bass boost2 ? by default, n=0x00: eq off is set. set_vol 4 0x61 0x10 0x02 n ? this command sets the sound volume with the value of n at the 4 th byte in 32 steps from 0x00 to 0x1f. ? setting range outside 0x00 to 0x1f will not accept the command. ? by default, n=0x06 is set. set_next 4 0x61 0x10 0x03 n ? this command sets next tune play mode. ? select n at the 4 th byte from the following. any settings other than n=0x04 will not accept the command. n=0x00: play_next: after the tune being played is completed, the lsi automatically searches the next tune and starts playing it. n=0x01: play_all_stop: after the last tune within the memory being played is completed, the lsi reaches the next tune and stops. when the play command is issued again, the lsi starts playing the next tune. n=0x02: play_fol_stop: after the last tune within the folder being played is completed, the lsi searches the next tune and stops. when the play command is issued again, the lsi starts playing the next tune. n=0x03: play_tun_stop: after the tune being played is completed, the lsi searches the next tune and stops. when the play command is issued again, the lsi starts playing the next tune. ? by default, n=0x00 is set. ? if the repeat mode is set to repeat within folder, operation setting n=0x01 will become disabled. the lsi searches the next tune and then starts playing it. ? if the repeat mode is set to repeat one tune, operation settings n=0x01 and 0x02 will become disabled. the lsi searches the next tune and then starts playing it. ? if the repeat mode is set to random within memory or random within folder, the operation settings n=0x01 and 0x02 will become disabled. the lsi searches the next tune and then starts playing it. set_reprand 4 0x61 0x10 0x04 n ? this command sets repeat mode. ? select n at the 4 th byte from the following. any other settings will not accept the command. n=0x00: repeat_all: repeats within the memory repeats all the tunes within the memory being played. n=0x01: repeat_fol: repeats within the folder repeats the tunes within the folder being played. n=0x02: repeat_tun: repeats one tune repeats the tune being played. a setup of the repeat in the memory is followed when ff and fb command. n=0x03: repeat_tun: repeats one tune repeats the tune being played. downloaded from: http:///
44/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 a setup of the repeat in the memory is followed when ff and fb command. n=0x04: random_all: random within the memory plays tunes at random starting from the one being played, in a range 128 tunes ahead and back of the tune. n=0x05: random_fol: random within the folder plays tunes at random within the folder starting from the one being played, in a range 128 tunes ahead and back of the tune. ? by default, n=0x00 is set. ? for the settings of the repeat, random and set_reprand commands, the one finally set becomes enabled. set_tag 4 0x61 0x10 0x05 n ? this command sets tag analysis mode. ? select n at the 4 th byte from the following. any settings other than n=0x00 will be considered to specify n=0x01. n=0x00: does not perform tag analysis. n=0x01: performs tag analysis. ? tag analysis is performed immediately before the lsi starts playing a tune, and started from the file to be searched after the setting is enabled. ? after tag analysis is completed, the lsi writes the result to the status register. ? by default, n=0x01: "performs tag analysis" is set. set_toc 4 0x61 0x10 0x06 n ? this command sets toc analysis mode. ? select n at the 4 th byte from the following. any setting other than n=0x00 will be considered to specify n=0x01. n=0x00: does not perform toc analysis. n=0x01: performs toc analysis. ? when receiving the command, inserting or changing the device, the lsi analyzes the total number of folders within the device (all the folders including root folders) and the total number of playable files. when receiving a command, toc analysis is performed only at change from off to on. ? the total number of files conforms to the sel_mp3, set_wma, set_aac, set_wav, set_mp3_play command. ? the total number of folders conforms to the set_emp_dir command. ? after toc analysis is completed, the lsi writes the number of total folder and total playable file to the status register, and stops at the first tune in the device. ? by default, n=0x00: "does not perform toc analysis" is set. set_prm 8 0x61 0x10 0x07 l ? this command sets play time (m) and skip time (n) for fast forward and rewind. ? play time is a period of time to make sound. skip time is a period of time to skip during search. ? for fast forward and rewind, a cycle of {play time (m) + skip time (n) + error (o)} is repeated. the error is determined by the difference between the minimum decode unit and the rounding error between the play time and the real time requiring to search the skip time. the error varies depending on the file and memory structure. ? play time is set to m[15:0]= [6th byte, 5th byte], and skip time to n[15:0]= [8th byte, 7th byte]. the unit is msec. by default, play time is 300ms=m[15:0]= [6th byte=x01,5 th byte=x2c], and skip time is 2100ms=n[15:0]= [8th byte=x08,7th byte=x34]. specifying 0x0 sets the default. set play time to 300ms or more, and skip time to (play time16) or less. when it is moved by the fast rewind play in the front to the tune, the regenerated time of the first period may become shorter than setup time. ? 0xl in the 4 th byte sets the attenuation level during fast forward and rewind. the allowable level is -6db x[4th byte]. allowable setting range is from 0x00 to 0x10. by default, 0x02=-12db is set. setting of 0x10 is equivalent to mute. browsing analyze_root 4 0x62 0x00 0x00 0 00 ? the lsi starts analyzing the root folder immediately after receiving the command. ? the analysis is performed for the information of 10 entries (files or subfolders) ? upon completion of analysis, the cursor position for browsing within the memory is set to the first entry (file or subfolder) within the root folder. play_cursor 4 0x62 0x01 0x00 0x00 ? this command selects the file being pointed by the memory browsing cursor. ? if a playable file is selected, the lsi starts playing it. ? if a folder or unplayable file is selected, this command will not be accepted. ? don't use play_cursor in the pl ayer mode when us e set_extension command by the setup except for n=0x00 (playable file). get access data of present cursor position by read_browse_entry_info command, and start play by play_direct command. get_tag_cursor 4 0x62 0x01 0x01 0x00 ? this command performs tag analysis for the file being pointed by the memory browsing cursor. ? when a file is pointed by the memory browsing cursor, the lsi immediately starts tag analysis through the file. upon completion of analysis, the lsi writes the result to the status register. ? when a folder is pointed by the memory browsing cursor, this command will not be accepted. downloaded from: http:///
45/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 play_direct 10 0x62 0x01 0x04 0x00 ? this command starts playing the file specified by the access data. ? if the access data does not specify a playable file, the lsi searches the first tune in the device and stops. ? the position of the memory browsing cursor does not change. ? set the access data at the 5 th -10 th bytes. mov_next 4 0x62 0x02 0x01 n ? this command moves the memory browsing cursor from the current position to the position n ahead in the sort order. ? the analysis is performed for the information of the 10 entries specified, starting from the move destination. after the analysis is completed, the lsi writes the result to the status register. ? if there are less than n files after the current memory browsing cursor position in the folder, the cursor position goes to the end of the folder. ? if the sort function (set_sort) is off, the cursor moves in the fat order. mov_prev 4 0x62 0x02 0x02 n ? this command moves the memory browsing cursor from the current position to the position n backward in the sort order. ? the analysis is performed for the information of the 10 entries specified, starting from the move destination. after the analysis is completed, the lsi writes the result to the status register. ? if there are less than n files from the top of the folder to the current memory browsing cursor position, the cursor position goes to the top of the folder. ? if the sort function (set_sort) is off, the cursor moves in the fat order. mov_up 4 0x62 0x02 0x03 0x00 ? this command moves the memory browsing cursor to a higher-level folder. ? after moving, the lsi analyzes the folder. ? if the cursor is in the highest layer (root), nothing will be done. mov_down 4 0x62 0x02 0x04 0x00 ? this command selects the lower-level holder pointed by the memory browsing cursor to move. after moving, the lsi analyzes the folder. ? when a folder is selected, the lsi starts analyzing it. ? when a file is selected, the lsi does not accept the command. ? if the cursor selects the folder in the lowest layer, nothing will be done. mov_home 4 0x62 0x02 0x05 0x00 ? this command moves the memory browsing cursor to the top of the root folder. ? after moving, the lsi analyzes the folder. mov_playing 4 0x62 0x02 0x06 0x00 ? this command moves the memory browsing cursor to the tune being played. ? after moving, the lsi analyzes the folder. ? during stop or search, the lsi does not accept the command. mov_direct 10 0x62 0x02 0x07 n ? this command moves the memory browsing cursor to the position specified by the access data. ? after moving, the lsi starts analyzing at this position. ? set the access data at the 5 th -10 th bytes. ? select the operation after moving with n in the 4 th byte. select n from the following. any setting other than n=0x00 will be considered to specify n=0x01. n=0x00: only moves the cursor and analyzes. n=0x01: if moving to a file, starts playing it. ? don't use mov_direct command with n=0x01 (a setup with the starts playing) in the player mode when use set_extension command by the setup except for n=0x00 (the file which can reproduce). the movement of the browsing cursor is to use a mov_direct command (there is no n=0x00; playable file.) play start is to use play_direct command. set_extension 4 0x62 0x04 0x00 n ? this command sets the type of file to be output to the status register when browsing within the memory (analyzing the folder). ? select n at the 4 th byte from the following. any other settings will not accept the command. n=0x00: playable file n=0x02: all files n=0x03: folder only (does not browsing files.) ? the initial value depends on the mode. in player mode: n=0x00: playable file in playlist mode: n=0x01: play list file in file rw: n=0x02: all files in other cases: n=0x00: playable file ? the setting of this command is reflected only when the analyze_root command is executed. after setting the command again, be sure to execute the analyze_root command. ? don't use mov_direct command (there is n=0x01; starts playing.) and a play_cursor command in the player mode when use it by the setup except for n=0x00 (playable file). downloaded from: http:///
46/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 file read fopen_r 260 0x63 0x01 0x00 0x00 ? this command specifies the full path and name of the file to be read from the memory using the file read function. ? if a file exists after receiving the command, open the specified file. ? the full path is 256 bytes at maximum (including drive letter (a:\), file name and extension). set this at the 5 th -260 th bytes. if the length is less than 256 bytes, insert 0x00 at the end. insert \(0x5c) for the delimiter between folder layers. ? the drive letter is "a:\" for usb and "b:\" for sd. ? you can also specify the path in a format without drive letter. in this case, the length is 253 bytes at maximum. ? if the full path has a drive letter different from the one for the memory being selected, an error occurs. (for example, "b:\" is set for the full path when usb is selected.) fopen_r_cursor 4 0x63 0x01 0x01 0x00 ? this command specifies the file pointed by the memory browsing cursor for the one to be read from the memory using the file read function. ? if a file exists after receiving the command, open the specified file. fopen_r_direct 10 0x63 0x01 0x02 0x00 ? this command specifies the access data of the file to be read from the memory using the file read function. ? the access data is 6 bytes. set it at the 5 th -10 th bytes. ? if a file exists after receiving the command, open the specified file. fclose 4 0x63 0x03 0x00 0x00 ? this command closes the file. ? after the file read function is completed, close the file. fread_dat 6 0x63 0x06 n n ? this command specifies the position of data to be read from the file at file read. ? specify the data position to be read in the 3 rd to 6 th bytes in little endian format. ? when using the i 2 c bus, send this command and then check that the frdready bit turns 1. then, send the read_fr_data command. data of up to 256 bytes can be read at one time. ? when using the spi bus, send this command and then check that the frdreadya bit turns 1. then, read the data from the spi bus. data of up to 4096 bytes can be read at one time. downloaded from: http:///
47/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 table 10. command enable/disable in each system operation mode command command enable/disable in each system operation mode command enable/disable in each status config player file read stop play search (mode) search (file) analyze write config chg_system_mode stop abort chg_dev dis_wdt set_wdt set_sort set_12mout set_mp3 set_lbit set_utpkt get_dev_free set_tout_tur set_idl_time set_usb_r_wait set_tout_m set_tout_c set_usb_getdev_f set_testu_mode set_usbcmd_can set_retval set_retrymode set_testu_pass set_testu_mode2 set_tout_tur2 set_emp_dir sel_irpto set_irpto_mask_00 set_irpto_mask_02 set_irpto_mask_22 set_irpto_mask_2f set_irpto_mask_37 set_nodiff set_ignore downloaded from: http:///
48/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 set_src_off set_sd auto_recog_lun set_recog_tim recog_lun set_wma set_aac set_lun reset_lun force_discon_usb force_con_usb force_discon_sd force_con_sd set_sd_tmout set_sd_abort set_wav set_mp3_play enable_mediadrv set_sd_info set_patch_code set_path_crc play control play pause home playmode vol+ vol- repeat random ff fb fol+ fol- play_resume play setting set_dout set_eq set_vol downloaded from: http:///
49/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 set_next set_reprand set_tag set_toc set_prm browsing analyze_root play_cursor get_tag_cursor play_direct mov_next mov_prev mov_up mov_down mov_home mov_playing mov_direct set_extension file read fopen_r fopen_r_cursor fopen_r_direct fclose fread_dat =enable =disable 13.2 status output the operation information, such as internal statuses, pl ay time, folders, files and tags, is output using an i 2 c interface. the statuses shown in table 11. status register map is output. when reading status via i 2 c, the offset position is autom atically incremented after reading byte data. however, by issuing the i 2 c start condition, the offset position is reset to offset specified by the previous command. to read statuses, two methods are available: to specify offset of the status regi ster map and read any bytes continuously from the offset position; and to read byte data by a comm and without specifying the offset position. table 12. shows the status output commands. byte data, when reading via i 2 c, is output in little endian format. when read over offset=0x140, offset does not return to 0x00, therefore the read value turns into an unfixed value. downloaded from: http:///
50/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 table 11. status register map offset status bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 (msb) (lsb) 0x00 status1 error search bu sy mchng stop pause play 0x01 status2 irpto 0 stop_inf o 0 precom res_err dec_err 0x02 status3 usbins sd ins usbfile sdfile md evusb mdevsd pdevusb pdevsd 0x03 status4 sel_toc tinfusb ti nfsd set_tag ana_tag taginfo 0x04 status5 0 set_sd fbp ffp playfile 0x05 status6 precomsta t 0x06 volinf 0 0 0 volinf 0x07 doutinf eqinf doutinf 0x08 pmodeinf repeat inf setnextinf 0x09 sel_mp3 auto_lun set_src set_aac set_wma wdt_rflg 12mout set_sort set_mp3 0x0a psec psech psecl 0x0b pminl pminlh p m i n l l 0x0c pminh pmihh pminhl 0x0d tsec tsech tsecl 0x0e tminl tminlh tminll 0x0f tminh tminhh tminhl 0x10 langl langl 0x11 langh langh 0x12 pfolnl pfolnl 0x13 pfolnh pfolnh 0x14 pfilenfll pfilenll 0x15 pfilenflh pfilenlh 0x16 pfilenfhl pfilenhl 0x17 pfilenfhh pfilenhh 0x18 pfilenmll pfilenll 0x19 pfilenmlh pfilenlh 0x1a pfilenmhl pfilenhl 0x1b pfilenmhh pfilenhh 0x1c tfolmeml tfolmeml 0x1d tfolmemh tfolmemh 0x1e tfilememll tfilememll 0x1f tfilememlh tfilememlh 0x20 tfilememhl tfilememhl 0x21 tfilememhh tfilememh h 0x22 browsestat ana_err 0 0 get_tag _end get_tag_id ana_cur 0x23 numanafolll numanafol ll 0x24 numanafollh numanafol lh 0x25 numanafolhl numanafol hl 0x26 numanafolhh numanafol hh 0x27 tfileanafolll tfileanafo lll 0x28 tfileanafollh tfileanafo llh 0x29 tfileanafolhl tfileanafo lhl 0x2a tfileanafolhh tfileanafo lhh 0x2b tfolanafoll tfolanafo ll 0x2c tfolanafolh tfolanafo lh 0x2d tfolanaheirl tfolanafo ll 0x2e sortoption set_nodiff set _ignore set_emp _dir 0 0 0 0 0 0x2f fiostat fioerr 0 0 fioopen frdready 0 fiosearch fiomode 0x30 fioset 0 0 0 0 0 0 fioope 0x35 lun_ready_l lun_ready _l 0x36 lun_ready_h lun_ready _h 0x37 meminfo meminfo lun_busy lun_ready _renew reseve reseve 0x38 - comarea comarea 0x13f downloaded from: http:///
51/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 offset status bit name contents 0x00 status1 7 error error situation 0 ; nothing error, 1 ; error * error=0 in config mode. 6:5 search search situation bit6:device recognition 0: search stop 1: under a search bit5:file search 0: search stop 1: under a search 4 busy busy situation 0: non-busy , 1:busy 3 mchng music change detection 0: under a music end / stop, 1: stop after search/ playing. 2 stop stop state 0: not stopped, 1: under a stop 1 pause pause state 0: not stopped, 1: under a stop 0 play playing state 0: not reproducing, 1: under playing 0x01 status2 7 irpto irpto interruption state 0: nothing interruption, 1;interruption 6 0 0 5:4 stop_info stop state detailed information 0: it is except during the stop/stop after device mount, 1: stop pulled [ music ] out the head, 2: error stop, 3: stop by set_next command setting 3 0 0 2 precom the last command situation 0;normal receptionist, 1;abnormalities (un-receiving) 1 res_err resume error 0: with no error, 1: error 0 dec_err decoding error 0: with no error, 1: error 0x02 status3 7 usbins usb connection detection 0:usb un-connecting, 1:usb connection detection 6 sdins sd connection detection 0:sd un-connecting, 1:sd connection detection 5 usbfile playable file existence in a usb memory 0;nothing, 1;existence 4 sdfile playable file existence in a sd memory 0;nothing, 1;existence 3 mdevusb usb memory recognition situation 0: un-recognizing, 1: recognition 2 mdevsd sd memory recognition situation 0: un-recognizing, 1: recognition 1 pdevusb usb memory situation 0: under a stop, 1: under playing/tag analysis 0 pdevsd sd memory situation 0: under a stop, 1: under playing/tag analysis 0x03 status4 7 sel_toc toc analysis setup 0:toc analysis off , 1:toc analysis on 6 tinfusb acquisition of total file/folder number in a usb memory. 0: un-acquiring, 1: finishing acquisition 5 tinfsd acquisition of total file/folder number in a sd memory. 0: un-acquiring, 1: finishing acquisition 4 set_tag tag analysis setup 0:tag analysis off, 1:tag analysis on 3 ana_tag tag analysis situation 0;tag analysis stop, 1;under tag analysis 2:0 taginfo existence tag kind 0:id 3v1, 1:id 3v2, 2;with wma, 3;aac, 4:wav, and 7: no tag information 0x04 status5 7 0 0 6 set_sd sd i/f effective 0:off , 1:on 5 fbp fast back playing situation 0: normal playing, 1:fast-back playing 4 ffp fast forward playing situation 0: normal playing, 1:fast-forward playing 3:0 playfile playing file information 1:mp3, 2:wma, 3:aac, 4:wav 0x05 status6 7:0 precomstat the last command receptionist situation detailed information ; the last command outputs whether it received normally. refer to 6.4.13 for the contents a state is held to the following command. a state is not cleared by the lead command. the 0th bit is the same as that of precom status. they are the contents at the time of abnormalities except it. 0x06 volinf 7:5 0 0 4:0 volinf volume setting information. the value set up by set_vol [4:0] is outputted. 0x07 doutinf 7:4 eqinf eq setting information. the value set up by set_eq [3:0] is outputted. 3:0 doutinf audio output setting information. the value set up by set_dout [3:0] is outputted. 0x08 pmodeinf 7:4 repeatinf repeat mode setting information. the value set up by set_reprand [3:0] is outputted. 3:0 setnextinf play next mode setting information. the value set up by set_next [3:0] is outputted. 0x09 sel_mp3 7 auto_lun test unit ready auto polling condition 0: auto polling , 1: not polling 6 set_src src effective 0:on , 1:off 5 set_aac aac file playback configuration 0:aac play , 1:aac not play 4 set_wma wma file playback configuration 0:wma play, 1:wma not play 3 wdt_rflg monitor register for wdt 0:after reset 2 12mout 12mhz clock output 0:off, 1:on 1 set_sort file sorting functional setup 0;sort function off, 1;sort function effective 0 set_mp3 mp3 file playing setup 0;extensions mp1 and mp2, mp3 playing, 1;reproduce only extension mp3. 0x0a psec 7:4 psech playing time second information [7:4] x 10 seconds 3:0 psecl playing time second information [3:0] x 1 second 0x0b pminl 7:4 pminlh playing time minutes information [7:4] x 10 minutes 3:0 pminll playing time minutes information [3:0] x 1 minute 0x0c pminh 7:4 pminhh playing time minutes information [7:4] x 1000 minutes 3:0 pminhl playing time minutes information [3:0] x 100 minutes 0x0d tsec 7:4 tsech 1 track time second information [7:4] x 10 seconds 3:0 tsecl 1 track time second information [3:0] x 1 second 0x0e tminl 7:4 tminlh 1 track time minutes information [7:4] x 10 minutes 3:0 tminll 1 track time minutes information [3:0] x 1 minute 0x0f tminh 7:4 tminhh 1 track time minutes information [7:4] x 1000 minutes 3:0 tminhl 1 track time minutes information [3:0] x 100 minutes 0x10 langl 7:0 langl tag character code information lower byte [7:0] 0x11 langh 7:0 langh tag character code information higher byte [15:8] 0x12 pfolnl 7:0 pfolnl playing folder number in memory. lower byte [7:0] root becomes no.1. a number is shaken in order of sorting. 0x13 pfolnh 7:0 pfolnh playing folder number in memory. higher rank byte [15:8] 0x14 pfilenfll 7:0 pfilenll playing file number in the present folder. [15:0], lower byte [7:0], a number is shaken from no.1 i n order of sorting. 0x15 pfilenflh 7:0 pfilenlh playing file number in the present folder. [15:0], higher rank byte [15:8] 0x16 pfilenfhl 7:0 pfilenhl playing file number in the present folder. [31:16], low rank byte [23:16] downloaded from: http:///
52/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 0x17 pfilenfhh 7:0 pfilenhh playing file number in the present folder. [31:16], higher rank byte [31:24] 0x18 pfilenmll 7:0 pfilenll playing file number in the memory. [15:0] low rank byte [7:0] 0x19 pfilenmlh 7:0 pfilenlh playing file number in the memory. [15:0] higher rank byte [15:8] 0x1a pfilenmhl 7:0 pfilenhl playing file number in the memory. [31:16] low rank byte [23:16] 0x1b pfilenmhh 7:0 pfilenhh playing file number in the memory. [31:16] higher rank byte [31:24] 0x1c tfolmeml 7:0 tfolmeml the number of total folders in a memory. low rank byte [7:0] 0x1d tfolmemh 7:0 tfolmemh the number of total folders in a memory. higher rank byte [15:8] 0x1e tfilememll 7:0 tfilememll the number of total files in memory. [15:0] low-rank byte [7:0] 0x1f tfilememlh 7:0 tfilememlh the number of total files in memory. [15:0] higher-rank [15:8] 0x20 tfilememhl 7:0 tfilememhl the number of total files in memory. [31:16] low-rank byte [23:16] 0x21 tfilememhh 7:0 tfilememhh the number of total files in memory. [31:16] higher-rank byte [31:24] 0x22 browsestat 7 ana_err browsing analysis error 0: with no error 1: error-generate in analysis. 6 0 - 5 0 - 4 get_tag_end cursor position tag analysis situation 0: under tag un-analyzing/analysis, 1: finishing of tag analysis 3:1 get_tag_id cursor position tag kind 0:id3v1, 1:id3v2, 2:wma, 3:aac, 4:wav, 7: no tag information 0 ana_cur cursor position entry analysis. 0;analysis stop, 1;under analysis 0x23 numanafolll 7:0 numanafolll cursor position number in a cursor existence folder [15:0] the entry number which the cursor within the folder in which low rank byte [7:0] cursor exists has pointed out is outputted. a number is shaken from no.1 in order of sorting in a folder. 0x24 numanafollh 7:0 numanafollh cursor position number in a cursor existence folder [15:0] higher rank byte [15:8] 0x25 numanafolhl 7:0 numanafolhl cursor position number in a cursor existence folder [31:16] low rank byte [23:16] 0x26 numanafolhh 7:0 numanafolhh cursor position number in a cursor existence folder [31:16] higher rank byte [31:24] 0x27 tfileanafolll 7:0 tfileanafolll the number of files total in a cursor existence folder [15:0] low rank byte [7:0] 0x28 tfileanafollh 7:0 tfileanafollh the number of files total in a cursor existence folder [15:0] higher rank byte [15:8] 0x29 tfileanafolhl 7:0 tfileanafolhl the number of files total in a cursor existence folder [31:16] low rank byte [23:16] 0x2a tfileanafolhh 7:0 tfileanafolhh the number of files total in a cursor existence folder [31:16] higher rank byte [31:24] 0x2b tfolanafoll 7:0 tfolanafoll the number of subfolders total in a cursor existence folder [15:0] low rank byte [7:0] 0x2c tfolanafolh 7:0 tfolanafolh the number of subfolders total in a cursor existence folder [15:0] higher rank byte [15:8] 0x2d tfolanaheirl 7:0 tfolanaheirl the classs number of cursor existence folder [7:0] a root class is set to 1. 0x2e sortoption 7 set_nodiff cases sensitivity of the alphabet 0: cases sensitivity , 1: not cases sensitivity 6 set_ignore set characters is ignored 0:not ignored , 1:ignored 5 set_emp_dir a number isn't given to empty folders 0: number given , 1:number not given 1 4 0 0 0x2f fiostat 7 fioerr file io error situation 0: with no error, 1:error 6 0 0 5 0 0 4 fioopen file open state 0: un-open 1;during file open 3 frdready read-out fifo preparation situation 0:under preparation, 1:preparation o.k. 2 0 0 1 fiosearch file io processing situation 0:processing stop, 1:under processing 0 fiomode file io mode effective/invalid 0;invalid 1; effective 0x30 fioset 7:6 0 0 5:4 0 0 3:0 fioope the contents situation of file io processing 0;with no processing , 1;open, 2;read, 3;write, 4;close, 5;delete 0x31 lun_ready_l 7:0 lun_ready_l the condition of test unit ready of each lun [7:0] 0: ng , 1: ok 0x32 lun_ready_h 7:0 lun_ready_h the condition of test unit ready of each lun [15:8] 0: ng , 1: ok 0x37 meminfo 7:4 meminfo memory device information chosen now 3 lun_busy test unit ready condition identification flag 0:not identification , 1: identification 2 lun_ready_rene w the change of state flag of test unit ready 0:changed , 1:not changed (it is cleared by 0 by a read_lun_ready command read. 1 reserve - 0 reserve - 0x38 comarea 7:0 comarea data common area the contents change with status read-out commands. - (when read-out exceeding offset=0x140 is performed, offset does not return to 0x00, but the value read becomes unfixed) 0x13f downloaded from: http:///
53/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 table 12. status output commands command name com mand command status status byte length 1st 2nd 3rd 4th the number of output bytes read_buff 4 0x6c 0x00 n m arbitrary ? output the arbitrary number data of by tes from the offset position where the status register map was specified. ? offset is 3rd and 4 th byte. it is specified as a byte by little endian (m, n= 0x00, 0x00 to 0x01, 0xff). read_status 4 0x6d 0x00 0x00 0x00 6 ? output about internal status. ? output about offset 0x00-0x 05 of a status buffer. read_pset 4 0x6d 0x00 0x01 0x00 4 ? output about setting information. ? output about offset 0x06-0x 09 of a status buffer. read_ptime 4 0x6d 0x00 0x02 0x00 6 ? output about playing time information. ? output about offset 0x0a-0 x0f of a status buffer. read_lang 4 0x6d 0x00 0x02 0x01 2 ? output about tag characte r code information. ? output about offset 0x10-0x 11 of a status buffer. read_pnum 4 0x6d 0x00 0x02 0x02 10 ? output about the number under playing. ? output about offset 0x12-0x 1b of a status buffer. ? an exact value of the number of total files and folders in memory cannot be acquired when music is specified by cursor and access data, such as a play_cursor command. read_tnum 4 0x6d 0x00 0x02 0x03 6 ? output about the file in a memory, and the number of folders. ? output about offset 0x1c-0 x21 of a status buffer. read_fnum 4 0x6d 0x00 0x02 0x04 4 ? output the number of files which is in a folder during the present playing. read_pfile_name 4 0x6d 0x00 0x03 n 130 ? output the file name of the file of th e +nth file during the present playing. specify n from 0x00 to 0x03. n=0x00 is the present file. output is enabled only when the nth file is within the same folder where the one being played resides. if the nth file is in a different folder, 0 is output ? output data has the proposed data id (2 bytes). see 16. file name, folder name, tag information for the output format. read_pfol_name 4 0x6d 0x00 0x04 0 00 130 ? output the folder name of the file being played. ? output data has the proposed data id (2 bytes). see 6.4.6 for the output format. read_pfile_tag 4 0x6d 0x00 0x05 n 130 ? outputs the data which is written to tag of the file being played. ? specify tag type with 0xn at the 4 th bytes. select n at the 4 th byte from the following. any other settings will not accept the command. n=0x00: title , n=0x01: artist , n=0x02: album , n=0x03: genre ? output data has the preposed data id (2 bytes). see 16. file name, folder name, tag information for the output format. read_resume_info 4 0x6d 0x00 0x06 0x00 42 ? outputs the data required to execute resume play. ? the data is output in little endian format. ? see 6.4.5 for the output format. read_dev_free 4 0x6d 0x00 0x07 n 8 ? outputs the free space analysis results of the file analyzed by the get_dev_free command. ? specify the space type to be output with n at the 4 th byte. select n at the 4 th byte from the following. any other settings will be considered to specify n=0x01. n=0x00: outputs the free space of the selected media by the byte. n=0x01: outputs the total space of the selected media by the byte. ? if the get_dev_free command has no t been sent, this command outputs 0. read_devdesc 4 0x6d 0x00 0x08 0x00 18 ? output a device descriptor value when the usb memory is inserted and chosen. ? vendor id and product id are the following offset. 0x08 vendor id lower byte 0x09 vendor id upper byte 0x0a product id lower byte 0x0b product id upper byte read_condesc 4 0x6d 0x00 0x08 0x01 32 ? output a configuration descriptor value when the usb memory has been recognized. ? 32 bytes from the head of top configuration descriptor is outputted. read_inqiry 4 0x6d 0x00 0x08 0x02 32 ? output a msc inquiry value when the usb memory has been recognized. ? vender identification (ascii) and product identification (ascii) are the following offset. 0x08-0x0f vender identification(ascii) downloaded from: http:///
54/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 0x10-0x1f product identification(ascii) read_lun 4 0x6d 0x00 0x08 0x03 1 in case of auto de tection mode of lun, lun of mounted usb memory can be read. if lun is specified using the "set_lu n" command, specified lun of mounted usb memory can be read. but if failed to mount, 0xff is read. attention) when memory connected to multi-card reader is removed or re-inserted, lun read by this command is not correct until mount of re-inserted media is completed. read_lun_num 4 0x6d 0x00 0x08 0x04 1 read the total of lun of the usb memory which is connected now. read_set_lun 4 0x6d 0x00 0x08 0x05 1 read lu n specified by the "set_lun" command. in not setting up, 0xff is read. read_irpto_factor 4 0x6d 0x00 0x09 0x00 10 ? the condition of the status register made the target of the dimension of irpto is outputted. 5byte data is outputted in the order status1 (offset : 0x000) status3 (offset : 0x002) browsestat (offset : 0x022) fiostat (offset : 0x02f) meminfo (offset : 0x037), and 5byte and outputs the flag which shows bit which is the dimension of irpt o. as for the flag of the interrupted dimension, mask isn't done by mask configuration. read_lun_ready 4 0x6d 0x00 0x0a 0x00 2 ? the consequence of test unit ready of each confirmed lun by auto_recog_lun or recog_lun is read out. ? when test unit ready is ok, output 1. ? when test unit ready is ng, output 0. ? it is outputted about offset 0x31-0x32 of the status buffer. ? lun_ready_renew flag is cleared by the read of this command. read_mask_irpto_0 0 4 0x6d 0x00 0x0b 0x00 1 ? mask configuration from the dimension of irpto can be read out each bit of the status register st atus1 (offset : 0x00). h' bit is mask from the irpto dimension. read_mask_irpto_0 2 4 0x6d 0x00 0x0b 0x02 1 ? mask configuration from the dimension of irpto can be read out each bit of the status register st atus1 (offset : 0x02). h' bit is mask from the irpto dimension. read_mask_irpto_2 2 4 0x6d 0x00 0x0b 0x22 1 ? mask configuration from the dimension of irpto can be read out each bit of the status register st atus1 (offset : 0x22). h' bit is mask from the irpto dimension. read_mask_irpto_2 f 4 0x6d 0x00 0x0b 0x2f 1 ? mask configuration from the dimension of irpto can be read out each bit of the status register status1 (offset : 0x2f). h' bit is mask from the irpto dimension. read_mask_irpto_3 7 4 0x6d 0x00 0x0b 0x37 1 ? mask configuration from the dimension of irpto can be read out each bit of the status register st atus1 (offset : 0x37). h' bit is mask from the irpto dimension. read_stop _progress 4 0x6d 0x00 0x0c 0x00 4 ? output the state of reprod uction stop processing. ? when you send command accompanied by reproduction operation after stop command ,check the completion of stop processing with this command in advance. ? 1st byte outputs the state of stop processing. 1st byte=0x00: stop processing is completed. the command accompanied by reproduction operation can be executed. 1st byte=other than 0x00: stop processing or reproduction processing is running . ? 2nd-4th byte outputs other internal processing state. read_browse _status 4 0x6d 0x01 0x00 0x00 1 ? output about the browsing analysis status in a memory. ? output about offset 0x22- of a status buffer. read_browse _pnum 4 0x6d 0x01 0x00 0x01 4 ? output about the cursor position number of browsing in a memory. ? output about offset 0x23-0x 26 of a status buffer. read_borwse_tnu m 4 0x6d 0x01 0x00 0x02 7 ? output about the number of entries in the folder in which the cursor of browsing in a memory exists, and the number of classes. ? output about offset 0x27-0x 2d of a status buffer. read_browse_fol _info 4 0x6d 0x01 0x01 0x00 76 ? outputs the information on the folder where the entry being pointed by the memory browsing cursor resides. ? see 6.4.7 for the output format. read_browse _entry_info 4 0x6d 0x01 0x02 n 76 ? outputs the information on the nth entry ahead from the one being pointed by the memory browsing cursor. ? specify n at the 4 th byte. specify n in the range from 0x00 to 0x10. ? see 17. file browsing within memory for the output format. downloaded from: http:///
55/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 read_browse_tag 4 0x6d 0x01 0x03 n 130 ? outputs the tag analysis results of the file analyzed by the get_tag_cursor command. ? specify the tag type with n at the 4 th byte. select n at the 4 th byte from the following. any other settings will not accept the command. n=0x00: title, n=0x01: artist, n=0x02: album, n=0x03: genre ? output data has the proposed data id (2 bytes). see 17. file browsing within memory for the output format read_fr_status 4 0x6d 0x03 0x00 0x00 2 ? output about a file read functional status. ? output about offset 0 x2f-0x30 of a status buffer. read_fr_size 4 0x6d 0x03 0x01 0x00 4 ? output the file size of the file specified by the file read function. ? a unit is a byte. it outputs by little endian. read_fr_data 4 0x6d 0x03 0x02 0x00 260 ? reads the data of the file specif ied by the file read function. ? up to 256 bytes of data can be read at one time. ? the leading 4 bytes are file offset. they are output in little endian format. read_sysmode 4 0x6d 0x0a 0x00 0x00 1 ? output about the present system operation mode. read_error 4 0x6d 0x0a 0x01 0x00 4 ? output about the contents of the present error. ? an internal error code original with this lsi is outputted. read_meminfo 4 0x6d 0x0a 0x02 0x00 1 ? output about the present memory information. ? output about offset 0x37 of a status buffer. read_mount_error 4 0x6d 0x0a 0x04 0x00 14 ? output the information on which st age of media mount went wrong when error occurs. ? 1st byte: usb enumeration state is outputted. ? 2nd byte: sd initializat ion state is outputted. ? 10th byte: file system anal ysis state is outputted. ? other bytes should be disregarded. ? see "12.4.15 process information when a media mount error " for details of content. read_sd_status 4 0x6d 0x0c 0x00 0x00 8 ? output the inside information of sd driver. ? the contents are origi nal with this lsi. ? please use it by a set_sd_info command. read_fw_ver 4 0x6d 0xff 0x00 0x00 4 ? output about a firmware version. downloaded from: http:///
56/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 table 13. command enable/disable in each system operation mode command command enable/disable in each system operation mode command enable/disable in each status config player file read stop play search (device) search (file) analyze write read_buff read_status read_pset read_ptime read_lang read_pnum read_tnum read_fnum read_pfile_name read_pfol_name read_pfile_tag read_resume_info read_dev_free read_devdesc read_condesc read_inqiry read_lun read_lun_num read_set_lun read_irpto_factor read_lun_ready read_mask_irpto_00 read_mask_irpto_02 read_mask_irpto_22 read_mask_irpto_2f read_mask_irpto_37 read_stop _progress read_browse _status read_browse _pnum read_borwse_tnum read_browse_fol _info read_browse _entry_info read_browse_tag downloaded from: http:///
57/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 read_fr_status read_fr_size read_fr_data read_sysmode read_error read_meminfo read_mount_error read_sd_status read_fw_ver =enable =disable downloaded from: http:///
58/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 14. system operation mode the lsi starts operation by setting up sy stem operation mode after download of the program by ipl after a power supply and reset release. possible operation changes with each modes of operation. only the one mode can set up mode of operation with a command. the mode which is simultaneously different cannot be set up. a microcomputer sets up the change in sy stem operation mode with a command. please be sure to perform the changes to each mode via config mode. the changes between player mode and fileread mode cannot be performed directly. the settlement of the following command is to do a re-setup because it is returned in the initial value when it passes through the config mode. repeat, random, set_eq, set_next, set_reprand, set_tag, set_prm command chg_system_mode n=0x00 ; config mode it is in the state which changes after a power supply it is the mode which performs initial setting of a system. please change to the mode of other operation afte r setting up with an initial-setting command. in this mode, even if it detects insertion of a memory, mount of a memory is not performed. the mount of a memory carried out behind each mode changes. n=0x01 ; player mode it is the mode which performs decoding play of the file in a memory. file browsing (structural analysis in a memory) can be performed. n=0x02 ; file read mode it is the mode which reading can perform about the specific file in a memory. a specific file can be deleted. file browsing (structural analysis in a memory) can be performed. downloaded from: http:///
59/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 15. resume information this lsi outputs the information for resume function, using read_resume_info command. table 14. resume information register structure status offset the number of bytes name contents 0x38-0x61 42 resume information data this data shows the information on the file being played and on the play position. the data has a lsi-unique structure. the resume information data is data of 42 bytes. it outputs with a little endian. the above resume information has a lsi-unique structure and is used when executing resume play. therefore, you should use the data contents as they are without rewriting. the resume function is implemented by writing the resu me information read by read_resume_info command to play_resume command. after writing to play_resume, the lsi automatically searches the resume. as for the action of the searches end, selectable from [playback is started in the time when read_resume_info command was forwarded], [top (pause) in the time when read_resume_info command was forwarded], [playback is started from the fr ont of the tune when read_resume_info command was forwarded], [stop (pause) the front of the tune when read_resume_info command was forwarded]. after reading read_resume_info command during file play, the lsi resumes the file from the time read_resume_info has been read. the data contents read by read_resume_info command cannot assure the operations when executing play_resume which has been rewritten due to the positio nal information within the memory. if the resume information does not match because of change of memo ry, the lsi starts searches front file of memory. 16. file name, folder name, tag information a file name, a folder name, and tag information are outputted to a status register. the first 2 bytes to be output indicate file data id information. the target data is outputted from the 3rd byte. a file name, a folder name, and tag information status register structure are shown in table 15. table 15.file (folder, tag) information registers structure status offset the number of bytes name contents 0x38 1 data type the type of data is outputted. 0x00; text- nul (0x00) terminated character string 0x01; byte- unsigned 1 byte integer 0x39 1 encoding encoding of a character string is outputted. 0x00 ; iso8859-1(latin1) 0x01 : utf-16(with bom) 0x02 : utf-16be 0x03 : utf-8 0x49 : utf-16le when a data type is except 0x00:text, data length (byte unit) is outputted. 0x3a-0xb9 128 file name (folder name, tag) a file name (or a folder name, ta g) is outputted by left fitting. up to 128 bytes can be output. if the data is less than 128 bytes, it terminates with 0x00. downloaded from: http:///
60/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 the character code information on tag information is outputted to a status register. character code information status register structure is shown in table 16. table 16. character code information registers structure langh offset=0x11 langl offset=0x10 language code 0x00 0x00 id3v1 tag or iso8859-1(id3v2 tag) 0x00 0x01 utf-16 (id3v2 tag) 0x00 0x02 utf-16be (id3v2 tag 0x00 0x03 utf-8 (id3v2 tag or aac tag itunes meta-data) 0x00 0x49 utf-16le (wma tag) downloaded from: http:///
61/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 17. file browsing within memory the lsi can analyzing and reading of the entry information of f iles and subfolders within a folder which is different from the one having the current tune while the current tune is being play ed or stopped. since the read information contains access data to be used to select tunes, the lsi enables to directly select and play tunes using this data. file browsing within the memory will be enabled by: operating the cursor position which can be controlled separately f rom the position of the tune be ing played and analyzing the folder to read the information on folders. when sending the command to move the cursor, the lsi c an analyze and read the information of 10 entries (files or folders) from the move destination. the cursor movement conforms to the so rt order determined by the sort function. if the sort function is enabled, the system first reads the files, and then the subfolders, in the sort order. if the sort function is disabled, the lsi reads the files and subfolders in the order that they are written to fat. a file browsing function becomes effective after analyse_ root command is send, and starts the analysis in a root folder. when you select music directly by using the access data or cu rsor position, the following status doesn't return a normal value because it doesn't understand the number in the whole in the memory. playing folder number in memory status, playing file number in the memory status. the file information status register struct ure which can be read by the file browsing function in a memory is shown in table 17. table 17. file (folder) information register structure status offset the number of bytes name contents 0x38-0x3d 6 access data the position in the memory in which a file and folder information is written is shown. direct song selection is possible from a microcomputer using this data. 0x3e 1 entry type the type of file is outputted. 0x0y= file-native (lfn, sfn), 0x1y= folder-native (lfn, sfn) 0x8y= file-utf16le (lfn), 0x9y= folder-utf16le (lfn) y becomes the following cases. 0x1=mp3, 0x2=wma, 0x3=aac, 0x4=wav , 0x6-0xe=reserve, 0xf,0x0=other file 0x3f 1 - 0x00 0x40-0x43 4 cluster number the cluster number in the memory in which a file and folder information is written is shown. 0x44-0x84 64 file name (folder name) a file name (folder name) is outputted by left fitting. cautions) if browsing operation is frequently performed during musi c playing, music skipping may occur by the memory with a slow access speed. 18. file data read it is possible to read the contents of the specified file in a memory. file name is specified by the full path (within 256 bytes) including a file name and an extension. a full path including a file name and an extension supports to 16 classes within 256 bytes. the above-operation can be performed when sy stem operation mode is file read mode. downloaded from: http:///
62/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 19. irpto interruption terminal to microcomputer when some status changes, this lsi notifies interruption to master microcomputer by irpto terminal. when signal is h, it is shown that interrupt occurs. please connect irpto terminal to the interruption port of level detection. the mode of irpto signal output conditio n can be selected by sel_irpto command. ? variable interruption mode: irpto is unified output by two or more status change. mast er microcomputer can select the status. ? fixed interruption mode: irpto is output by si ngle status change according to system mode. 19.1 variable interruption mode interrupt request is caused from the irpto terminal to t he microcomputer when either of the hereunder status register changes. interruption factor can be selected by set_mask_00-set_mask_ 37 command. the initial setting of the interruption factor is shaded status. table 18. status register s for interruption factor offset status bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 (msb) (lsb) 0x00 status1 error search busy mchng stop pause play 0x02 status3 usbins sdins usbfile sdfile mdevusb mdevsd pdevusb pdevsd 0x22 browsestat ana_err 0 0 get_tag_end get_tag_id ana_cur 0x2f fiostat fioerr 0 0 fioopen frdready 0 fiosearch fiomode 0x37 meminfo meminfo lun_busy lun_ready_ renew reserve reserve irpto is returned to l when forego status is read out by using the read_irpto_factor command. following table shows the contents of the output dat a by read_irpto_factor command. the status value and interruption factor is included. when status changes, corresponding bit of interruption factor becomes h. for example, when only error status changes, interruption factor 1 becomes 0x80. table 19. the contents of the out put data by read_irpto_factor status offset byte name content 0x38 + 0x0 1 status value 1 (offset : 0x00) status1 0x38 + 0x1 1 status value 2 (offset : 0x02) status2 0x38 + 0x2 1 status value 3 (offset : 0x22) browsestat 0x38 + 0x3 1 status value 4 (offset : 0x2f) fiostat 0x38 + 0x4 1 status value 5 (offset : 0x37) meminfo 0x38 + 0x5 1 interruption factor 1 st atus change flag for status value 1 0x38 + 0x6 1 interruption factor 2 st atus change flag for status value 2 0x38 + 0x7 1 interruption factor 3 st atus change flag for status value 3 0x38 + 0x8 1 interruption factor 4 st atus change flag for status value 4 0x38 + 0x9 1 interruption factor 5 st atus change flag for status value 5 downloaded from: http:///
63/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 19.2 fixed interrupt mode in fixed interruption mode, irpto is output by single status change according to system mode. following table shows irpto signal output condition for each system mode. state interruption contents player mode meminfo = 0x3 an interrupt occurs when status register meminfo=0x03 (offset=0x37, [7:4] ).see 6.4.14. selected memory information for content. clear conditions; interruption is cleared by memory disconnection. file read mode frdready an interrupt occurs when a specifie d file is searched and read-out is ready. clear conditions; interruption is cleared by data are read (block unit). 20. previous command processing situation the previous command processing situati on is outputted as status register status6 (offset=0x05) precomstat. bit0 of status6(offset=0x05) and bi t2 of status2 (offset=0x01) is the same value. when bit2 of status2 set to "0", the previous command is normally processed. when bit2 of status2 set to "1", the previous command is not processed. the following shows the value descriptions. value name cause of being unprocessed 0x01 unclassified non classification error 0x03 unknown cmd undefined command 0x05 search searching now 0x07 invalid arg invalid parameter is detected. 0x09 wrong mode invalid command in the current system operation mode 0x0b not ready initializ ation is not completed. 0x0f not implemented the function is not mounted. 0x15 device error device error 21. selected memory information the kind and information on a device which are chosen now are outputted by a read_meminfo command. an output value is cleared at the memory disconnection or chg_dev command reception, and is updated at the completion of mount operation. the details of an output value are shown below. value[7:4] contents 0x0 mounted usb device (playable device) 0x1 no-mounted usb device (fil e system un-support, etc.) 0x2 usb low speed device 0x3 usb device with two or more device configration 0x4 the usb device and sd device which cannot be recognized (usb enumeration failure etc.) 0x5 meminfo is undecided. 0x6 - 0x7 sd card 0x8-0xf it means that there is hub, when bit7 is h. downloaded from: http:///
64/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 22. process information when a media mount error when media mount failure occurs, read_mount_error co mmand output the information on the stage of media mount operation. after being set to error=1, the detailed information about in which process the error occurred can be read with this command. for example, when error=1 and 1st byte=0x08 or 0x09, it tu rns out that mount error is caused by device response error for test unit ready or request sense. the details of an output value are shown below. 1st byte (offset=0) of a read value outputs the process state of usb mount operation. a read value corresponds to the processing which went wrong. a read value is cleared at the st art of a usb mount operation. a read value is updated irrespective of the success or failure of mount operation at the co mpletion of mount operation. read value process state read value process state 0x00 before a start of operation 0x10 get_devstatus 0x01 device_discriptor acquisition 0x11 sector read command send 0x02 set_address 0x12 sector read command receive 0x03 config_descriptor acquisition 0x13 sector read status receive 0x04 end point connect 0x14 - 0x05 set_configration 0x15 - 0x06 get max lun 0x16 - 0x07 clear_feature 0x17 not-supported device subclass 0x08 inquiry 0x18 only hub is connected 0x09 test unit ready 0x19 low device is detected 0x0a request sense - - 0x0b read_capacity - - 0x0c clear_port_feature - - 0x0d get_port_status - - 0x0e set_port_feature - - 0x0f hub_descriptor acquisition - - 2nd byte (offset=1) of a read value outputs th e process state of sd initialization. bit corresponding to the succeeded process is set to 1. a read value is cleared at the st art of a sd mount operation. a read value is updated one by one during mount, irrespec tive of the success or failure of mount operation. update is stopped at the completion of mount operation a read value is 0x00 befor e a start of operation. 10th byte (offset=9) of a read value outputs t he process state of fat file system analysis. a read value corresponds to the processing which went wrong. a read value is updated one by one during mount, irrespec tive of the success or failure of mount operation. update is stopped at the completion of mount operation read value process state 0x00 before a start of operation 0x01 mbr read 0x02 mbr analysis 0x03 bpb analysis 0x04 fat table check bit process state 0 cmd0 response 1 cmd8 response 2 cmd55 response 3 cmd41 response 4 cmd58 response 5 cmd1 response downloaded from: http:///
65/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 23. patch code download for play ability improvement to peculiar usb memory and sd card, this lsi supports to download a patch cord from a master microcomputer. in config mode, a patch is downloadabl e from a master microcomputer via i 2 c. the whole patch image size sent into bu94502amuv must be smaller than 8440 bytes. please divide a patch image into packets within 504 bytes, send by set_patch_code command. after downloading all patch image packets , validate the patch image by set_patch_crc command. ? generator polynomial uses crc- citt (x^16 + x^12+x^ 5+1). ? initial value is 0xffff. ? output xor is 0x0000. ? a bit feed is the right feed. figure 32. concept of patch code download 24. watch dog timer the lsi incorporates watch dog timer, which monitors the system hang-up and resets whenever it occurs. after resetting hang-up. can disable wdt using dis_wdt comm and. once wdt is disabled, it cannot be enabled until reset is input. when wdt, in the valid status, detects a hang-up within the ls i regardless of external situations (on the microcomputer), the lsi resets the system internally. to monitor whether the lsi is reset by wdt from the ma ster microcomputer (external), use set_wdt command to write h to status wdt_rflg and monitor this st atus. after reset, this status is read as l. this helps you judge that wdt has reset the lsi by reading out l when reading the st atus regularly after writing h using set_wdt command. patch image packet #1 patch image packet #n crc#1 ? ? ? crc of whole set_patch_code ? ? ? check whole crc, patch image packet #2 patch image packet #3 ? ? ? patch image crc#2 crc#3 crc#n set_patch_code set_patch_code set_patch_code set_patch_code whole patch image save to instruction ram save to instruction ram save to instruction ram save to instruction ram validate patch image this lsi downloaded from: http:///
66/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 notes for use (1)power on reset please keep the terminal resetx at the low level when the power supply starts . please make the terminal resetx high level after 100us after 3.3v system power supply and the oscill ation of the system clock is steady. moreover, please make the terminal resetx low level dur ing 100us or more when rese tting it while operating. (2) about compatibility in usb memory device and sd memory card according to the file structure and communication speed of an usb memory, sd memory card, this lsi might not play back correctly. (3) about turning on the power supply current rush might flow momentarily by the order of turning on the power supply and the delay in ic with two or more power supplies, and note the capacity of the power supply coupling, the power s upply, and width and drawing the gnd pattern wiring. (4) about absolute maximum rating when the absolute maximum rating such as the applied voltage and the ranges of the operating temperature is exceeded, lsi might be destroyed. please apply nei ther voltage nor the temperature that exceeds the absolute maximum rating. please execute physical measures for safety such as fuse when it is thought to exceed the absolute maximum rating, and examine it so that the condition to exceed the absolute maximum rating is not applied to lsi. (5) about gnd voltage in any state of operation must be the lowest voltage about the voltage of t he terminal gnd. please actually confirm the voltage of each terminal is not a voltage that is lower than the terminal gnd including excessive phenomenon. (6) about design of overheatin g malfunction preventive circuit please design overheating malfuncti on preventive circuit with an enough margin in consideration of a permissible loss in the state of using actually. use a thermal design that allows for a sufficient margin in light of the power dissipation (pd) in actual operating conditions. vqfn040v6060 package bu94501amuv / bu94502amuv exposes its frame of the backside of package. note that this part is assumed to use after providing heat dissipation treatm ent to improve heat dissipation efficiency. try to occupy as wide as possible with heat dissipation pattern not only on the board surface but also the backside. (7) about the short between terminals and the mounting by mistake please note the direction and the gap of position of lsi enough about lsi when you mount on the substrate. lsi might be destroyed when mounting by mistake and energizi ng. moreover, lsi might be destroyed when short-circuited by entering of the foreign substances between the termi nal and gnd, between terminals, between the terminal and the power supply of lsi. (8) about operation in strong electromagnetic field use in strong electromagnetic field has the possibility of malfunctioning and evaluate it enough, please. (9) browsing operation with a memory with slow access speed, browsing operation during music playing may generate skipping. (10) playing time of mp3 file the playing time when it can be acquired at the time of playing the mp3 file, may shift when fast forward playing, rewinding playing, and vbr playing. (11) about wma windows media audio is the music compression technology which microsoft corp. developed. windows media is the registered trademark of u.s. micr osoft corporation in the u.s., and other countries. (12) about i 2 c format i/f although this lsi has adopted the i 2 c format, the level shifter circuit is not built in. for this reason, level shifter is needed for connection with t he device besides the range of operating power supply voltage of this lsi. (13) about " made for ipod / iphone / ipad license " for using of bu94502amuv / bu94502aks2, it is necessary to become a licensee of apple inc. regarding "made for ipod/iphone/ipad license" status of this document the japanese version of this document is the formal specification. a customer may use this translation version only for a reference. to help reading the formal version. if there are any differences in translation version of this document, formal version takes priority. downloaded from: http:///
67/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 information about ordering part number b u 9 4 5 0 x a x x x - x x part number bu94502a (ipod support) bu94501a (ipod not support) package muv: vqfn040v6060 ks2: sqfp-t52m packaging and forming specification e2: reel-formed emboss taping none: tray, tube vqfn040v6060 is provided in reel-formed emboss taping sqfp-t52m is provided in a tray. external dimension bu94501amuv / bu94502amuv ( vqfn040v6060 ) bu94501aks2 / bu94502aks2 ( sqfp-t52m ) downloaded from: http:///
68/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 mark name image part number part number marking ordering part number bu94501amuv bu94501 amuv BU94501AMUV-E2 bu94501aks2 u94501aks2 bu94501aks2 bu94502amuv bu94502 amuv bu94502amuv-e2 bu94502aks2 u94502aks2 bu94502aks2 sqfp-t52m(top view) vqfn040v6060 (top view) part number marking lot number 1pin mark part number marking lot number 1pin mark downloaded from: http:///
69/69 datasheet datasheet bu9450xaxxx series tsz02201-0v2v0e600070-1-2 ? 2012 rohm co., ltd. all rights reserved. 2012.12.10 rev.003 www.rohm.com tsz22111 ? 15 ? 001 revision history date revision changes 02.jul.2012 001 new release 13.jul.2012 002 p.4 : difference of bu9450xa series features playable aac files *.asf => *.3gp p.2, 3 : basic circuit application diagram the addition of the precaution p.7, 8 : description of terminal s the addition of the precaution p.46 : set_clrpath_cur command specifications addition the addition of other details explanations and indication composition become proper. 10.dec.2012 003 p.35 : abot command option (tag analysis) is deleted p.44,49 : get_path_cursor command is deleted p.46,49 : set_clrpath_cur command is deleted p.50,52,62 : get_path_end flag is deleted p.50,52,35 : det_hub, det_unsup, det_vendor flag is deleted p.55,56 : read_browse_path command is deleted p.60: table16. table 16. file path info rmation register structure is deleted p.41 : explanation addition of the home command in the random setup p.42 : explanation addition of the fol+ command in the random setup p.42 : explanation addition of the fol- command in the random setup the addition of other details explanations and indication composition become proper. downloaded from: http:///
datasheet d a t a s h e e t notice - ge rev.002 ? 2014 rohm co., ltd. all rights reserved. notice precaution on using rohm products 1. our products are designed and manufac tured for application in ordinary elec tronic equipments (such as av equipment, oa equipment, telecommunication equipment, home electroni c appliances, amusement equipment, etc.). if you intend to use our products in devices requiring ex tremely high reliability (such as medical equipment (note 1) , transport equipment, traffic equipment, aircraft/spacecra ft, nuclear power controllers, fuel c ontrollers, car equipment including car accessories, safety devices, etc.) and whose malfunction or failure may cause loss of human life, bodily injury or serious damage to property (specific applications), please consult with the rohm sale s representative in advance. unless otherwise agreed in writing by rohm in advance, rohm shall not be in any way responsible or liable for any damages, expenses or losses incurred by you or third parties arising from the use of any ro hms products for specific applications. (note1) medical equipment classification of the specific applications japan usa eu china class class class b class class | class 2. rohm designs and manufactures its products subject to strict quality control system. however, semiconductor products can fail or malfunction at a certain rate. please be sure to implement, at your own responsibilities, adequate safety measures including but not limited to fail-safe desi gn against the physical injury, damage to any property, which a failure or malfunction of our products may cause. the following are examples of safety measures: [a] installation of protection circuits or other protective devices to improve system safety [b] installation of redundant circuits to reduce the impact of single or multiple circuit failure 3. our products are designed and manufactured for use under standard conditions and not under any special or extraordinary environments or conditio ns, as exemplified below. accordin gly, rohm shall not be in any way responsible or liable for any damages, expenses or losses arising from the use of an y rohms products under any special or extraordinary environments or conditions. if you intend to use our products under any special or extraordinary environments or conditions (as exemplified below), your independent verification and confirmation of product performance, reliability, etc, prior to use, must be necessary: [a] use of our products in any types of liquid, incl uding water, oils, chemicals, and organic solvents [b] use of our products outdoors or in places where the products are exposed to direct sunlight or dust [c] use of our products in places where the products ar e exposed to sea wind or corrosive gases, including cl 2 , h 2 s, nh 3 , so 2 , and no 2 [d] use of our products in places where the products are exposed to static electricity or electromagnetic waves [e] use of our products in proximity to heat-producing components, plastic cords, or other flammable items [f] sealing or coating our products with resin or other coating materials [g] use of our products without cleaning residue of flux (ev en if you use no-clean type fluxes, cleaning residue of flux is recommended); or washing our products by using water or water-soluble cleaning agents for cleaning residue after soldering [h] use of the products in places subject to dew condensation 4. the products are not subjec t to radiation-proof design. 5. please verify and confirm characteristics of the final or mounted products in using the products. 6. in particular, if a transient load (a large amount of load applied in a short per iod of time, such as pulse. is applied, confirmation of performance characteristics after on-boar d mounting is strongly recomm ended. avoid applying power exceeding normal rated power; exceeding the power rating under steady-state loading c ondition may negatively affect product performance and reliability. 7. de-rate power dissipation (pd) depending on ambient temper ature (ta). when used in seal ed area, confirm the actual ambient temperature. 8. confirm that operation temperat ure is within the specified range described in the product specification. 9. rohm shall not be in any way responsible or liable for fa ilure induced under deviant condi tion from what is defined in this document. precaution for mounting / circuit board design 1. when a highly active halogenous (chlori ne, bromine, etc.) flux is used, the resi due of flux may negatively affect product performance and reliability. 2. in principle, the reflow soldering method must be used; if flow soldering met hod is preferred, please consult with the rohm representative in advance. for details, please refer to rohm mounting specification downloaded from: http:///
datasheet d a t a s h e e t notice - ge rev.002 ? 2014 rohm co., ltd. all rights reserved. precautions regarding application examples and external circuits 1. if change is made to the constant of an external circuit, pl ease allow a sufficient margin considering variations of the characteristics of the products and external components, including transient characteri stics, as well as static characteristics. 2. you agree that application notes, re ference designs, and associated data and in formation contained in this document are presented only as guidance for products use. theref ore, in case you use such information, you are solely responsible for it and you must exercise your own independent verification and judgment in the use of such information contained in this document. rohm shall not be in any way responsible or liable for any damages, expenses or losses incurred by you or third parties arising from the use of such information. precaution for electrostatic this product is electrostatic sensitive product, which may be damaged due to electrostatic discharge. please take proper caution in your manufacturing process and storage so that voltage exceeding t he products maximum rating will not be applied to products. please take special care under dry condit ion (e.g. grounding of human body / equipment / solder iron, isolation from charged objects, se tting of ionizer, friction prevention and temperature / humidity control). precaution for storage / transportation 1. product performance and soldered connections may deteriora te if the products are stor ed in the places where: [a] the products are exposed to sea winds or corros ive gases, including cl2, h2s, nh3, so2, and no2 [b] the temperature or humidity exceeds those recommended by rohm [c] the products are exposed to di rect sunshine or condensation [d] the products are exposed to high electrostatic 2. even under rohm recommended storage c ondition, solderability of products out of recommended storage time period may be degraded. it is strongly recommended to confirm sol derability before using products of which storage time is exceeding the recommended storage time period. 3. store / transport cartons in the co rrect direction, which is indicated on a carton with a symbol. otherwise bent leads may occur due to excessive stress applied when dropping of a carton. 4. use products within the specified time after opening a humidity barrier bag. baking is required before using products of which storage time is exceeding the recommended storage time period. precaution for product label qr code printed on rohm products label is for rohms internal use only. precaution for disposition when disposing products please dispose them proper ly using an authorized industry waste company. precaution for foreign exchange and foreign trade act since our products might fall under cont rolled goods prescribed by the applicable foreign exchange and foreign trade act, please consult with rohm representative in case of export. precaution regarding intellectual property rights 1. all information and data including but not limited to application example contained in this document is for reference only. rohm does not warrant that foregoi ng information or data will not infringe any intellectual property rights or any other rights of any third party regarding such information or data. rohm shall not be in any way responsible or liable for infringement of any intellectual property rights or ot her damages arising from use of such information or data.: 2. no license, expressly or implied, is granted hereby under any intellectual property rights or other rights of rohm or any third parties with respect to the information contained in this document. other precaution 1. this document may not be reprinted or reproduced, in whol e or in part, without prior written consent of rohm. 2. the products may not be disassembled, converted, modified, reproduced or otherwise changed without prior written consent of rohm. 3. in no event shall you use in any wa y whatsoever the products and the related technical information contained in the products or this document for any military purposes, incl uding but not limited to, the development of mass-destruction weapons. 4. the proper names of companies or products described in this document are trademarks or registered trademarks of rohm, its affiliated companies or third parties. downloaded from: http:///
datasheet datasheet notice C we rev.001 ? 2014 rohm co., ltd. all rights reserved. general precaution 1. before you use our pro ducts, you are requested to care fully read this document and fully understand its contents. rohm shall n ot be in an y way responsible or liabl e for fa ilure, malfunction or acci dent arising from the use of a ny rohms products against warning, caution or note contained in this document. 2. all information contained in this docume nt is current as of the issuing date and subj ec t to change without any prior notice. before purchasing or using rohms products, please confirm the la test information with a rohm sale s representative. 3. the information contained in this doc ument is provi ded on an as is basis and rohm does not warrant that all information contained in this document is accurate an d/or error-free. rohm shall not be in an y way responsible or liable for an y damages, expenses or losses incurred b y you or third parties resulting from inaccur acy or errors of or concerning such information. downloaded from: http:///